]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Set vehic velocity, not self.vehicle
authorMario <mario@smbclan.net>
Fri, 25 Mar 2016 07:20:56 +0000 (17:20 +1000)
committerMario <mario@smbclan.net>
Fri, 25 Mar 2016 09:26:57 +0000 (19:26 +1000)
qcsrc/common/vehicles/vehicle/spiderbot.qc

index a74c32513f6ce9b442ff1df40e4d15ac72caf3db..1fff96fb2ada4005524a065f6a033b18f097ec74 100644 (file)
@@ -75,8 +75,8 @@ bool spiderbot_frame(entity this)
 
        if(intermission_running)
        {
-               self.vehicle.velocity = '0 0 0';
-               self.vehicle.avelocity = '0 0 0';
+               vehic.velocity = '0 0 0';
+               vehic.avelocity = '0 0 0';
                return;
        }