r2255 - trunk/data/qcsrc/server
    DONOTREPLY at icculus.org 
    DONOTREPLY at icculus.org
       
    Mon Mar 26 08:30:06 EDT 2007
    
    
  
Author: div0
Date: 2007-03-26 08:30:05 -0400 (Mon, 26 Mar 2007)
New Revision: 2255
Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
work around fteqcc bug (duh...)
Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2007-03-26 11:07:49 UTC (rev 2254)
+++ trunk/data/qcsrc/server/g_world.qc	2007-03-26 12:30:05 UTC (rev 2255)
@@ -1878,8 +1878,9 @@
 		++mapvote_voters;
 		if(other.mapvote)
 		{
+			i = other.mapvote - 1;
 			//dprint("Player ", other.netname, " vote = ", ftos(other.mapvote - 1), "\n");
-			mapvote_votes[other.mapvote - 1] = mapvote_votes[other.mapvote - 1] + 1;
+			mapvote_votes[i] = mapvote_votes[i] + 1;
 		}
 	}
 }
    
    
More information about the nexuiz-commits
mailing list