From 39c11b75251a25269604afba35cfbd37637ecc21 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 16 Apr 2015 07:47:13 +1000 Subject: [PATCH] Also check if owner is in a vehicle when stopping the arc beam --- qcsrc/common/weapons/w_arc.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/common/weapons/w_arc.qc b/qcsrc/common/weapons/w_arc.qc index d8faa7be97..5931f2fcc5 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)) ) { -- 2.39.2