From d57125b3aa97091625b58454268a326d8a93d9ea Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Tue, 22 May 2012 17:16:18 +0300 Subject: [PATCH] Use the proper time offset for turning. The train still won't turn in the right direction while waiting however --- qcsrc/server/t_plats.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index e9f52df2c4..6ac02df66f 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -268,7 +268,7 @@ void train_wait() { entity targ; targ = find(world, targetname, self.target); - SUB_CalcAngleMove(targ.origin, TSPEED_TIME, self.ltime + self.wait, train_wait); + SUB_CalcAngleMove(targ.origin, TSPEED_TIME, self.ltime - time + self.wait, train_wait); self.train_wait_turning = TRUE; return; } -- 2.39.2