r3852 - trunk/data/qcsrc/server

savagex at icculus.org savagex at icculus.org
Sun Jul 20 15:08:33 EDT 2008


Author: savagex
Date: 2008-07-20 15:08:28 -0400 (Sun, 20 Jul 2008)
New Revision: 3852

Modified:
   trunk/data/qcsrc/server/assault.qc
Log:
fixing assault, third round: *first* set team for attacker/defender 
spawnpoints, *then* call the setup function (which, amongst other 
things, sets up teamplay)


Modified: trunk/data/qcsrc/server/assault.qc
===================================================================
--- trunk/data/qcsrc/server/assault.qc	2008-07-20 17:47:35 UTC (rev 3851)
+++ trunk/data/qcsrc/server/assault.qc	2008-07-20 19:08:28 UTC (rev 3852)
@@ -13,8 +13,8 @@
 -------- SPAWNFLAGS --------
 INITIAL : makes the spawnpoint the initial place for the player to spawn at the beginning of the game.*/
 void spawnfunc_info_player_attacker() {
+	self.team = COLOR_TEAM1; // red, gets swapped every round
 	spawnfunc_info_player_deathmatch();
-	self.team = COLOR_TEAM1; // red, gets swapped every round
 }
 
 //=============================================================================
@@ -32,8 +32,8 @@
 -------- SPAWNFLAGS --------
 INITIAL : makes the spawnpoint the initial place for the player to spawn at the beginning of the game.*/
 void spawnfunc_info_player_defender() {
+	self.team = COLOR_TEAM2; // blue, gets swapped every round
 	spawnfunc_info_player_deathmatch();
-	self.team = COLOR_TEAM2; // blue, gets swapped every round
 }
 
 // reset this objective. Used when spawning an objective




More information about the nexuiz-commits mailing list