From: Mircea Kitsune Date: Tue, 22 May 2012 14:16:18 +0000 (+0300) Subject: Use the proper time offset for turning. The train still won't turn in the right direc... X-Git-Tag: xonotic-v0.8.0~295^2~39 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=d57125b3aa97091625b58454268a326d8a93d9ea Use the proper time offset for turning. The train still won't turn in the right direction while waiting however --- 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; }