r2891 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Nov 3 05:04:41 EDT 2007
Author: div0
Date: 2007-11-03 05:04:41 -0400 (Sat, 03 Nov 2007)
New Revision: 2891
Modified:
trunk/data/qcsrc/server/teamplay.qc
Log:
fix TDM (always using 2 teams, ignoring g_tdm_teams) bug found by pavlvs
Modified: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc 2007-11-02 20:55:44 UTC (rev 2890)
+++ trunk/data/qcsrc/server/teamplay.qc 2007-11-03 09:04:41 UTC (rev 2891)
@@ -1339,6 +1339,10 @@
tdm_spawnteam("Red", COLOR_TEAM1-1);
tdm_spawnteam("Blue", COLOR_TEAM2-1);
+ if(numteams >= 3)
+ tdm_spawnteam("Yellow", COLOR_TEAM3-1);
+ if(numteams >= 4)
+ tdm_spawnteam("Pink", COLOR_TEAM4-1);
};
void() tdm_delayedinit =
More information about the nexuiz-commits
mailing list