From ae31573d7ea3ed80d32a665c2fbd1751371ea29d Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 24 May 2012 18:36:07 +0300 Subject: [PATCH] Add self.mins there too, still no fix --- qcsrc/server/t_plats.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index c84b22836..f335af709 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -310,9 +310,9 @@ void train_wait() cp = world; if(cp) // bezier curves movement - org = normalize(cp.origin - self.origin); // use the origin of the control point of the next path_corner + org = normalize(cp.origin - (self.origin - self.mins)); // use the origin of the control point of the next path_corner else // linear movement - org = normalize(targ.origin - self.origin); // use the origin of the next path_corner + org = normalize(targ.origin - (self.origin - self.mins)); // use the origin of the next path_corner if(self.wait >= 0) // slow turning { -- 2.39.2