From: Mario Date: Sun, 30 Sep 2018 11:41:40 +0000 (+1000) Subject: Fix arc preventing switching weapons when you change weapons with the button held X-Git-Tag: xonotic-v0.8.5~1812 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7db9f51f9d0650644c0610db733c126e327cccb1;p=xonotic%2Fxonotic-data.pk3dir.git Fix arc preventing switching weapons when you change weapons with the button held --- diff --git a/qcsrc/common/weapons/weapon/arc.qc b/qcsrc/common/weapons/weapon/arc.qc index c9d12fa67..56a48f2f3 100644 --- a/qcsrc/common/weapons/weapon/arc.qc +++ b/qcsrc/common/weapons/weapon/arc.qc @@ -236,8 +236,8 @@ void W_Arc_Beam_Think(entity this) { // note: this doesn't force the switch W_SwitchToOtherWeapon(own, weaponentity); - own.(weaponentity).arc_BUTTON_ATCK_prev = false; // hax } + own.(weaponentity).arc_BUTTON_ATCK_prev = false; // allow switching weapons delete(this); return; }