]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix http://dev.xonotic.org/issues/947 even moar
authorJakob MG <jakob_mg@hotmail.com>
Tue, 17 Jan 2012 11:50:11 +0000 (12:50 +0100)
committerJakob MG <jakob_mg@hotmail.com>
Tue, 17 Jan 2012 11:50:11 +0000 (12:50 +0100)
qcsrc/server/vehicles/racer.qc
qcsrc/server/vehicles/raptor.qc

index dc9f419d9a15ca74a477b1c22d9f62a89f854022..777820e48c261c26f18cc8c9b093b42abfa71a85 100644 (file)
@@ -521,6 +521,7 @@ void racer_exit(float eject)
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);
            self.owner.velocity = (v_up + v_forward * 0.25) * 750;
+           self.owner.oldvelocity = self.owner.velocity;
        }
        else
        {
index 630a4de85fc97dbcb59266e6b3119ddc00b08e7a..4973859259be48a3619eabdba70de148b87b8366 100644 (file)
@@ -244,6 +244,7 @@ void raptor_exit(float eject)
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);
            self.owner.velocity = (v_up + v_forward * 0.25) * 750;
+           self.owner.oldvelocity = self.owner.velocity;
        }
        else
        {