diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-23 05:38:56 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:02 +0000 |
commit | 7eaea4c3c54c9c1f957a88ad485ee7a0d572282d (patch) | |
tree | 547839d712426e86d8910b3cdf6386da44a37a02 | |
parent | 306bc987f00dfe804f433ea1e75ee58bc8214feb (diff) |
* Potentially fix a bug where votes fail for no apparent reason
-rw-r--r-- | src/game/g_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 52ff8a2a..2fa41c1d 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2121,7 +2121,7 @@ void G_CheckVote( team_t team ) pass = qtrue; } else if( (float)level.voteNo[ team ] <= - (float)level.numVotingClients[ team ] * 1.0f - votePassThreshold ) + (float)level.numVotingClients[ team ] * ( 1.0f - votePassThreshold ) ) { return; } |