]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Turn off vehicle damage when initializing, fixes bug 1352 (invisible vehicles exploding)
authorMario <mario.mario@y7mail.com>
Fri, 22 Mar 2013 05:47:34 +0000 (16:47 +1100)
committerMario <mario.mario@y7mail.com>
Fri, 22 Mar 2013 05:47:34 +0000 (16:47 +1100)
qcsrc/server/vehicles/vehicles.qc

index e23cc702cc706cdb912cf0e6602d0c5ce351aa82..a79fcc62a4e2df25044e7d4a55e7647ecf4273f4 100644 (file)
@@ -1268,7 +1268,7 @@ float vehicle_initialize(string  net_name,
     self.vehicle_exit        = exitfunc;
     self.vehicle_enter       = enterproc;
     self.PlayerPhysplug      = physproc;
-    self.event_damage        = vehicles_damage;
+    self.event_damage        = func_null;
     self.touch               = vehicles_touch;
     self.think               = vehicles_spawn;
     self.nextthink           = time;