r2310 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Apr 13 21:12:23 EDT 2007


Author: div0
Date: 2007-04-13 21:12:23 -0400 (Fri, 13 Apr 2007)
New Revision: 2310

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc
Log:
teams_matter check fixed


Modified: branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc	2007-04-14 01:11:48 UTC (rev 2309)
+++ branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc	2007-04-14 01:12:23 UTC (rev 2310)
@@ -139,10 +139,9 @@
 			WaypointSprite_DeployPersonal("waypoint", self.death_origin);
 			sprint(self, "personal waypoint spawned at death location\n");
 		}
-		else if(imp == 33 && self.deadflag == DEAD_NO)
+		else if(imp == 33 && self.deadflag == DEAD_NO && teams_matter)
 		{
-			if(teams_matter)
-				WaypointSprite_Attach("helpme", TRUE);
+			WaypointSprite_Attach("helpme", TRUE);
 			sprint(self, "HELP ME attached\n");
 		}
 		else if(imp == 34)




More information about the nexuiz-commits mailing list