Also check if owner is in a vehicle when stopping the arc beam
authorMario <zacjardine@y7mail.com>
Wed, 15 Apr 2015 21:47:13 +0000 (07:47 +1000)
committerMario <zacjardine@y7mail.com>
Wed, 15 Apr 2015 21:47:13 +0000 (07:47 +1000)
qcsrc/common/weapons/w_arc.qc

index d8faa7b..5931f2f 100644 (file)
@@ -239,6 +239,8 @@ void W_Arc_Beam_Think(void)
                ||
                self.owner.frozen
                ||
+               self.owner.vehicle
+               ||
                (WEP_CVAR(arc, overheat_max) > 0 && self.beam_heat >= WEP_CVAR(arc, overheat_max))
        )
        {