r1784 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Jul 28 09:18:16 EDT 2006
Author: div0
Date: 2006-07-28 09:18:15 -0400 (Fri, 28 Jul 2006)
New Revision: 1784
Modified:
trunk/data/qcsrc/server/g_world.qc
Log:
Ouch, that patch before was stupid. Fixed. Now winning conditions for campaign should REALLY work.
Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc 2006-07-28 11:23:57 UTC (rev 1783)
+++ trunk/data/qcsrc/server/g_world.qc 2006-07-28 13:18:15 UTC (rev 1784)
@@ -1282,12 +1282,13 @@
InitiateOvertime();
}
+ if(status == WINNING_NEVER)
+ // equality cases! Nobody wins if the overtime ends in a draw.
+ ClearWinners();
+
if(checkrules_overtimeend)
if(status != WINNING_NEVER)
- {
- ClearWinners();
status = WINNING_YES;
- }
if(status == WINNING_YES)
NextLevel();
More information about the nexuiz-commits
mailing list