[nexuiz-commits] r6623 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Apr 30 14:17:32 EDT 2009
Author: div0
Date: 2009-04-30 14:17:31 -0400 (Thu, 30 Apr 2009)
New Revision: 6623
Modified:
trunk/data/qcsrc/server/mode_onslaught.qc
Log:
use InitializeEntity for onslaught too
Modified: trunk/data/qcsrc/server/mode_onslaught.qc
===================================================================
--- trunk/data/qcsrc/server/mode_onslaught.qc 2009-04-30 14:34:57 UTC (rev 6622)
+++ trunk/data/qcsrc/server/mode_onslaught.qc 2009-04-30 18:17:31 UTC (rev 6623)
@@ -627,6 +627,7 @@
e.team = self.team;
self.think = onslaught_generator_delayed;
self.nextthink = time + 0.2;
+ InitializeEntity(self, onslaught_generator_delayed, INITPRIO_LAST);
WaypointSprite_SpawnFixed(string_null, e.origin + '0 0 1' * e.maxs_z, self, sprite);
WaypointSprite_UpdateRule(self.sprite, COLOR_TEAM2, SPRITERULE_TEAMPLAY);
@@ -976,7 +977,6 @@
}
if (self.target == "" || self.target2 == "")
objerror("target and target2 must be set\n");
- self.think = onslaught_link_delayed;
- self.nextthink = time + 0.1;
+ InitializeEntity(self, onslaught_link_delayed, INITPRIO_FINDTARGET);
Net_LinkEntity(self, FALSE, 0, onslaught_link_send);
};
More information about the nexuiz-commits
mailing list