From: Mario Date: Fri, 20 Feb 2015 03:44:53 +0000 (+1100) Subject: Partially working trains X-Git-Tag: xonotic-v0.8.1~38^2~27 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3890a331d56b59987e2a4ccbd2189f6185e41352;p=xonotic%2Fxonotic-data.pk3dir.git Partially working trains --- diff --git a/qcsrc/common/triggers/func/train.qc b/qcsrc/common/triggers/func/train.qc index 2b4f67cd0..2a5d2fa0c 100644 --- a/qcsrc/common/triggers/func/train.qc +++ b/qcsrc/common/triggers/func/train.qc @@ -210,7 +210,7 @@ void spawnfunc_func_train() self.view_ofs = self.mins; // wait for targets to spawn - InitializeEntity(self, func_train_find, INITPRIO_SETLOCATION); + InitializeEntity(self, func_train_find, INITPRIO_FINDTARGET); self.blocked = generic_plat_blocked; if(self.dmg && (self.message == "")) @@ -297,8 +297,9 @@ void ent_train() //func_train_find(); // but we will need these - self.move_nextthink = self.move_ltime + 0.1; - self.move_think = train_next; + //self.move_nextthink = self.move_ltime + 0.1; + //self.move_think = train_next; + train_next(); self.move_movetype = MOVETYPE_PUSH; self.move_origin = self.origin;