summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2010-10-20 06:39:32 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:42 +0000
commit8de86ee910f107da1106bd4dfc574909ecb35fc8 (patch)
tree53ef39101f2b9e7a9fd5920718ba3fa44ab9a394 /src/game
parent8c7941c19efd6cf1a76b113938515d9d549dc3db (diff)
* (bug 4761) Count connecting players as voters
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index bdc948e1..54333acb 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1392,10 +1392,11 @@ void CalculateRanks( void )
level.numConnectedClients++;
P[ i ] = (char)'0' + level.clients[ i ].pers.teamSelection;
+ level.numVotingClients[ TEAM_NONE ]++;
+
if( level.clients[ i ].pers.connected != CON_CONNECTED )
continue;
- level.numVotingClients[ TEAM_NONE ]++;
if( level.clients[ i ].pers.teamSelection != TEAM_NONE )
{
level.numPlayingClients++;