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

index fa188bbb1da4e19dabdc535e37335b5a229949d9..b5da8c39b8cdf7d268085ccb243b56f6ff2a8011 100644 (file)
@@ -528,7 +528,7 @@ void racer_exit(float eject)
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);
        }
-       
+       antilag_clear(self.owner);
     self.owner = world;
 }
 void racer_impact()
index 9e80f1869dd32b2d679575de5edf960fd6739158..c815030ed53d6ef9d874c06b63e6b3b9698cd424 100644 (file)
@@ -251,7 +251,7 @@ void raptor_exit(float eject)
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);
        }
-       
+       antilag_clear(self.owner);      
     self.owner = world;
 }
 
index f1cb5755192f4fdfef5c5bbbc7346c6615614038..bb87ed303419aac2002730753207a867047e2c5e 100644 (file)
@@ -457,7 +457,7 @@ void spiderbot_exit(float eject)
            spot = vehicles_findgoodexit(spot);
            setorigin(self.owner , spot);
        }
-        
+    antilag_clear(self.owner);
     self.owner = world;
 }
 void spider_impact()
index 8063c2791fd66eb0943453afe9cf92a76e890f0d..20c74d3a17e24deb0012882c634c9d527d4747d0 100644 (file)
@@ -533,6 +533,7 @@ void vehicles_enter()
     }
     
     self.vehicle_enter();
+    antilag_clear(other);
 }
 
 /** vehicles_findgoodexit