r3861 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jul 21 08:04:56 EDT 2008


Author: div0
Date: 2008-07-21 08:04:56 -0400 (Mon, 21 Jul 2008)
New Revision: 3861

Modified:
   trunk/data/qcsrc/client/mapvoting.qc
Log:
for "voted away" maps, still occupy the screen space (makes #2 stay at #2's place in the second voting stage)


Modified: trunk/data/qcsrc/client/mapvoting.qc
===================================================================
--- trunk/data/qcsrc/client/mapvoting.qc	2008-07-21 12:00:46 UTC (rev 3860)
+++ trunk/data/qcsrc/client/mapvoting.qc	2008-07-21 12:04:56 UTC (rev 3861)
@@ -133,7 +133,10 @@
 	{
 		tmp = mv_votes[i]; // FTEQCC bug: too many array accesses in the function call screw it up
 		if(tmp < 0)
+		{
+			pos_y += isize + 10;
 			continue;
+		}
 		map = mv_maps[i];
 		if(mv_preview[i])
 			MapVote_DrawMapItem(pos, isize, map, mv_pics[i], tmp, i);




More information about the nexuiz-commits mailing list