r2840 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Oct 21 09:56:59 EDT 2007
Author: div0
Date: 2007-10-21 09:56:59 -0400 (Sun, 21 Oct 2007)
New Revision: 2840
Modified:
trunk/data/qcsrc/server/g_world.qc
Log:
help with map voting when people haven't downloaded the current map yet by printing instructions to the console
Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc 2007-10-21 12:19:36 UTC (rev 2839)
+++ trunk/data/qcsrc/server/g_world.qc 2007-10-21 13:56:59 UTC (rev 2840)
@@ -1873,6 +1873,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