]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix http://dev.xonotic.org/issues/949
authorJakob MG <jakob_mg@hotmail.com>
Sat, 14 Jan 2012 09:15:33 +0000 (10:15 +0100)
committerJakob MG <jakob_mg@hotmail.com>
Sat, 14 Jan 2012 09:15:33 +0000 (10:15 +0100)
qcsrc/server/vehicles/racer.qc
qcsrc/server/vehicles/raptor.qc
qcsrc/server/vehicles/spiderbot.qc

index b5da8c39b8cdf7d268085ccb243b56f6ff2a8011..7f5e80e4b29ae339be8003fed9e7fe29a61a053c 100644 (file)
@@ -524,6 +524,7 @@ void racer_exit(float eject)
        }
        else
        {
+           self.owner.velocity = '0 0 0';
            spot = self.origin - v_forward * 200 + '0 0 64';
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);
index c815030ed53d6ef9d874c06b63e6b3b9698cd424..ae91c8303a7db7e1bd4284b291d37f4a6f36d894 100644 (file)
@@ -247,6 +247,7 @@ void raptor_exit(float eject)
        }
        else
        {
+           self.owner.velocity = '0 0 0';
            spot = self.origin - v_forward * 200 + '0 0 64';
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);
index bb87ed303419aac2002730753207a867047e2c5e..3d809e2425714cf3ce3b5fc74290223681d46aae 100644 (file)
@@ -453,6 +453,7 @@ void spiderbot_exit(float eject)
        }
        else
        {
+           self.owner.velocity = '0 0 0';
            spot = self.origin - v_forward * 200 + '0 0 64';
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);