r2841 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Oct 21 09:57:40 EDT 2007


Author: div0
Date: 2007-10-21 09:57:40 -0400 (Sun, 21 Oct 2007)
New Revision: 2841

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
Log:
text mode vote instructions


Modified: branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/g_world.qc	2007-10-21 13:56:59 UTC (rev 2840)
+++ branches/nexuiz-2.0/data/qcsrc/server/g_world.qc	2007-10-21 13:57:40 UTC (rev 2841)
@@ -1871,6 +1871,12 @@
 				msg_entity = other;
 				WriteByte(MSG_ONE, SVC_FINALE);
 				WriteString(MSG_ONE, "");
+				for(i = 0; i < mapvote_count; ++i)
+					if(mapvote_maps[i] != "")
+					{
+						tmp = mapvote_maps[i];
+						sprint(other, strcat("map voting: type ^1impulse ", ftos(i), "^7 to vote for ", tmp, "\n"));
+					}
 			}
 		}
 




More information about the nexuiz-commits mailing list