From: Mario Date: Fri, 22 Mar 2013 05:47:34 +0000 (+1100) Subject: Turn off vehicle damage when initializing, fixes bug 1352 (invisible vehicles exploding) X-Git-Tag: xonotic-v0.7.0~68^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b6c890df69ccd14195c538199f0273dedba36ab;p=xonotic%2Fxonotic-data.pk3dir.git Turn off vehicle damage when initializing, fixes bug 1352 (invisible vehicles exploding) --- diff --git a/qcsrc/server/vehicles/vehicles.qc b/qcsrc/server/vehicles/vehicles.qc index e23cc702c..a79fcc62a 100644 --- a/qcsrc/server/vehicles/vehicles.qc +++ b/qcsrc/server/vehicles/vehicles.qc @@ -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;