From: Mario Date: Wed, 15 Apr 2015 21:47:13 +0000 (+1000) Subject: Also check if owner is in a vehicle when stopping the arc beam X-Git-Tag: xonotic-v0.8.1~83 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=39c11b75251a25269604afba35cfbd37637ecc21;p=xonotic%2Fxonotic-data.pk3dir.git Also check if owner is in a vehicle when stopping the arc beam --- diff --git a/qcsrc/common/weapons/w_arc.qc b/qcsrc/common/weapons/w_arc.qc index d8faa7be9..5931f2fcc 100644 --- a/qcsrc/common/weapons/w_arc.qc +++ b/qcsrc/common/weapons/w_arc.qc @@ -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)) ) {