]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 d8faa7be97daead90da13c9ab84dbcd7e23a89c0..5931f2fcc57624a52c11e8c72b2322c0c21450b0 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))
        )
        {