]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Really block vehicles when the game is over (racer and spiderbot used to slowly fall...
authorterencehill <piuntn@gmail.com>
Mon, 12 Sep 2016 13:50:41 +0000 (15:50 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 12 Sep 2016 13:50:41 +0000 (15:50 +0200)
qcsrc/common/vehicles/vehicle/bumblebee.qc
qcsrc/common/vehicles/vehicle/racer.qc
qcsrc/common/vehicles/vehicle/raptor.qc
qcsrc/common/vehicles/vehicle/spiderbot.qc

index 403c9de9ddb1bb73a8e969e70afea9f324c1ec9f..8fbeb3f993ca5c890c10187d5f679d59ada5df6c 100644 (file)
@@ -395,6 +395,7 @@ bool bumblebee_pilot_frame(entity this, float dt)
        {
                vehic.velocity = '0 0 0';
                vehic.avelocity = '0 0 0';
+               set_movetype(vehic, MOVETYPE_NONE);
                return;
        }
 
index c8f8cf84eaf33bb697b4963f96aad90c35e06a47..09db15c4dabfe7a55985446bc18f3ecb9c31319e 100644 (file)
@@ -155,6 +155,7 @@ bool racer_frame(entity this, float dt)
        {
                vehic.velocity = '0 0 0';
                vehic.avelocity = '0 0 0';
+               set_movetype(vehic, MOVETYPE_NONE);
                return;
        }
 
index a03c936bd787f6d8e075857ed38b3efc8c5841f3..0f638569b955d71efe74cc201fdc41c4576c96df 100644 (file)
@@ -137,6 +137,7 @@ bool raptor_frame(entity this, float dt)
        {
                vehic.velocity = '0 0 0';
                vehic.avelocity = '0 0 0';
+               set_movetype(vehic, MOVETYPE_NONE);
                return;
        }
 
index ec06104824e1c555bc7792f0929787344625c1d2..b8c3caa741150bcb78776b92609d8b1deeb8e425 100644 (file)
@@ -52,6 +52,7 @@ bool spiderbot_frame(entity this, float dt)
        {
                vehic.velocity = '0 0 0';
                vehic.avelocity = '0 0 0';
+               set_movetype(vehic, MOVETYPE_NONE);
                return;
        }