From 7eaea4c3c54c9c1f957a88ad485ee7a0d572282d Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Fri, 23 Oct 2009 05:38:56 +0000 Subject: * Potentially fix a bug where votes fail for no apparent reason --- src/game/g_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit