Browse Source

engine: server: fix bot count

pull/2/head
Alibek Omarov 3 years ago
parent
commit
5e4996b119
  1. 2
      engine/server/sv_main.c

2
engine/server/sv_main.c

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

Loading…
Cancel
Save