r3205 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Jan 20 19:17:20 EST 2008
Author: avirox
Date: 2008-01-20 19:17:20 -0500 (Sun, 20 Jan 2008)
New Revision: 3205
Modified:
trunk/data/qcsrc/server/mode_onslaught.qc
Log:
- Node links now activate their "target"s on capture
Modified: trunk/data/qcsrc/server/mode_onslaught.qc
===================================================================
--- trunk/data/qcsrc/server/mode_onslaught.qc 2008-01-21 00:06:16 UTC (rev 3204)
+++ trunk/data/qcsrc/server/mode_onslaught.qc 2008-01-21 00:17:20 UTC (rev 3205)
@@ -365,6 +365,9 @@
void() onslaught_controlpoint_icon_buildthink =
{
+ local entity oself;
+ oself = self;
+
self.nextthink = time + 0.1;
self.health = self.health + self.count;
if (self.health >= self.max_health)
@@ -376,6 +379,12 @@
bprint(ColoredTeamName(self.team), " captured ", self.owner.message, " control point\n");
self.owner.iscaptured = TRUE;
onslaught_updatelinks();
+
+ // Use targets now (somebody make sure this is in the right place..)
+ self = self.owner;
+ activator = self;
+ SUB_UseTargets ();
+ self = oself;
}
self.alpha = self.health / self.max_health;
// colormod flash when shot
More information about the nexuiz-commits
mailing list