r5427 - trunk/data/qcsrc/server
esteel at icculus.org
esteel at icculus.org
Tue Jan 6 15:17:53 EST 2009
Author: esteel
Date: 2009-01-06 15:17:53 -0500 (Tue, 06 Jan 2009)
New Revision: 5427
Modified:
trunk/data/qcsrc/server/g_world.qc
Log:
only announce X frags left if there actually is an limit. fixes the "fraglimit 0 + selfkill = 1frag left message"
Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc 2009-01-06 15:06:44 UTC (rev 5426)
+++ trunk/data/qcsrc/server/g_world.qc 2009-01-06 20:17:53 UTC (rev 5427)
@@ -1522,6 +1522,7 @@
{
leaderfrags = WinningConditionHelper_topscore;
+ if (limit)
if (leaderfrags == limit - 1)
play2all("announcer/robotic/1fragleft.wav");
else if (leaderfrags == limit - 2)
More information about the nexuiz-commits
mailing list