From: Mircea Kitsune Date: Tue, 22 May 2012 15:10:03 +0000 (+0300) Subject: Try another origin, which I think is more correct but does the same thing... X-Git-Tag: xonotic-v0.8.0~295^2~36 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a9fc6e13e126dcb18d983890f30a90e0b30c8f9d;p=xonotic%2Fxonotic-data.pk3dir.git Try another origin, which I think is more correct but does the same thing... --- diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index 805f690ec..3e8d077af 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -269,7 +269,7 @@ void train_wait() entity targ; vector org; targ = find(world, targetname, self.target); - org = normalize(targ.origin - (self.origin - self.mins)); + org = normalize(targ.origin); SUB_CalcAngleMove(org, TSPEED_TIME, self.ltime - time + self.wait, train_wait); self.train_wait_turning = TRUE; return;