From e97318f19360daec171bb47a2be302d6eb9dabf0 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 24 May 2012 22:15:49 +0300 Subject: [PATCH] Fix inverted Z angle. I hope it's done the right way --- qcsrc/server/t_plats.qc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index 9c0d057b0..eaccc53ae 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -310,9 +310,11 @@ void train_wait() cp = world; if(cp) // bezier curves movement - org = vectoangles(cp.origin - self.origin); // use the origin of the control point of the next path_corner + org = cp.origin - self.origin; // use the origin of the control point of the next path_corner else // linear movement - org = vectoangles(targ.origin - self.origin); // use the origin of the next path_corner + org = targ.origin - self.origin; // use the origin of the next path_corner + org_z = -org_z; + org = vectoangles(org); if(self.wait >= 0) // slow turning { -- 2.39.2