From: Mario Date: Tue, 26 Dec 2017 14:09:06 +0000 (+1000) Subject: Reload all weapon slots regardless of g_weaponswitch_debug setting X-Git-Tag: xonotic-v0.8.5~2404 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=85d8f73bf83e32a74cecbae0be426ac7df812237;p=xonotic%2Fxonotic-data.pk3dir.git Reload all weapon slots regardless of g_weaponswitch_debug setting --- diff --git a/qcsrc/server/impulse.qc b/qcsrc/server/impulse.qc index 56ea478ae..5b426c1c3 100644 --- a/qcsrc/server/impulse.qc +++ b/qcsrc/server/impulse.qc @@ -343,8 +343,9 @@ IMPULSE(weapon_reload) Weapon w = this.(weaponentity).m_weapon; w.wr_reload(w, actor, weaponentity); - if(slot == 0 && autocvar_g_weaponswitch_debug != 1) - break; + // allow reloading all active slots? + //if(slot == 0 && autocvar_g_weaponswitch_debug != 1) + //break; } }