]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use the proper time offset for turning. The train still won't turn in the right direc...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 22 May 2012 14:16:18 +0000 (17:16 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 22 May 2012 14:16:18 +0000 (17:16 +0300)
qcsrc/server/t_plats.qc

index e9f52df2c4c282cfdf55f688c37026830f9cb0ab..6ac02df66f04e0433885853cd845909aca1eb757 100644 (file)
@@ -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;
        }