r1785 - branches/nexuiz-2.0/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Jul 28 09:19:21 EDT 2006
Author: div0
Date: 2006-07-28 09:19:21 -0400 (Fri, 28 Jul 2006)
New Revision: 1785
Modified:
branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
Log:
winning condition for campaign
Modified: branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/g_world.qc 2006-07-28 13:18:15 UTC (rev 1784)
+++ branches/nexuiz-2.0/data/qcsrc/server/g_world.qc 2006-07-28 13:19:21 UTC (rev 1785)
@@ -1281,12 +1281,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