From: Samual Lenks Date: Thu, 27 Feb 2014 04:38:32 +0000 (-0500) Subject: Turns out, yes, that was needed.. fixes a bug with firing X-Git-Tag: xonotic-v0.8.0~152^2~40 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f884c965eef85986a7c3d685b3e8a311a94e3ea4;p=xonotic%2Fxonotic-data.pk3dir.git Turns out, yes, that was needed.. fixes a bug with firing --- diff --git a/qcsrc/common/weapons/w_arc.qc b/qcsrc/common/weapons/w_arc.qc index 929fc5cca..d06bf3202 100644 --- a/qcsrc/common/weapons/w_arc.qc +++ b/qcsrc/common/weapons/w_arc.qc @@ -186,10 +186,7 @@ void W_Arc_Beam_Think(void) self.owner.freezetag_frozen ) { - #if 0 - // is this needed? I thought this is changed to world when removed ANYWAY if(self == self.owner.arc_beam) { self.owner.arc_beam = world; } - #endif entity oldself = self; self = self.owner; if(!WEP_ACTION(WEP_ARC, WR_CHECKAMMO1) && !WEP_ACTION(WEP_ARC, WR_CHECKAMMO2))