engine: server: fix bot count

This commit is contained in:
Alibek Omarov 2022-05-28 22:16:08 +03:00
parent f25254369d
commit 5e4996b119

View File

@ -179,7 +179,7 @@ int SV_GetConnectedClientsCount(int *bots)
if( FBitSet( svs.clients[index].flags, FCL_FAKECLIENT )) if( FBitSet( svs.clients[index].flags, FCL_FAKECLIENT ))
{ {
if( bots ) if( bots )
*bots++; (*bots)++;
} }
else else
clients++; clients++;