summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 5fca0584..c8fd701b 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -240,7 +240,7 @@ intptr_t vmMain( int command, int arg0, int arg1, int arg2, int arg3, int arg4,
return 0;
case GAME_CLIENT_CONNECT:
- return (intptr_t)ClientConnect( arg0, arg1, arg2 );
+ return (intptr_t)ClientConnect( arg0, arg1 );
case GAME_CLIENT_THINK:
ClientThink( arg0 );
@@ -1197,8 +1197,7 @@ void CalculateRanks( void )
if( level.clients[ i ].pers.connected == CON_CONNECTED )
{
level.numPlayingClients++;
- if( !(g_entities[ i ].r.svFlags & SVF_BOT) )
- level.numVotingClients++;
+ level.numVotingClients++;
if( level.clients[ i ].ps.stats[ STAT_PTEAM ] == PTE_HUMANS )
level.numteamVotingClients[ 0 ]++;
@@ -1646,9 +1645,6 @@ void CheckIntermissionExit( void )
if( cl->ps.stats[ STAT_PTEAM ] == PTE_NONE )
continue;
- if( g_entities[ cl->ps.clientNum ].r.svFlags & SVF_BOT )
- continue;
-
if( cl->readyToExit )
{
ready++;