[nexuiz-commits] r8517 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jan 19 02:38:39 EST 2010


Author: div0
Date: 2010-01-19 02:38:39 -0500 (Tue, 19 Jan 2010)
New Revision: 8517

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
Fix mapvote crash

Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2010-01-17 21:06:25 UTC (rev 8516)
+++ trunk/data/qcsrc/server/g_world.qc	2010-01-19 07:38:39 UTC (rev 8517)
@@ -2297,14 +2297,14 @@
 				if(mapvote_abstain && i == mapvote_count - 1)
 				{
 					WriteString(MSG_ENTITY, ""); // abstain needs no text
+					WriteString(MSG_ENTITY, ""); // abstain needs no pack
 					WriteByte(MSG_ENTITY, 0); // abstain needs no screenshot dir
-					WriteString(MSG_ENTITY, ""); // abstain needs no pack
 				}
 				else
 				{
 					WriteString(MSG_ENTITY, mapvote_maps[i]);
+					WriteString(MSG_ENTITY, mapvote_maps_pakfile[i]);
 					WriteByte(MSG_ENTITY, mapvote_maps_screenshot_dir[i]);
-					WriteString(MSG_ENTITY, mapvote_maps_pakfile[i]);
 				}
 			}
 	}



More information about the nexuiz-commits mailing list