]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/vehicle/spiderbot.qc
Set vehic velocity, not self.vehicle
[xonotic/xonotic-data.pk3dir.git] / 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;
        }