From 3890a331d56b59987e2a4ccbd2189f6185e41352 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 20 Feb 2015 14:44:53 +1100 Subject: [PATCH] Partially working trains --- qcsrc/common/triggers/func/train.qc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.39.2