]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Reload all weapon slots regardless of g_weaponswitch_debug setting
authorMario <mario@smbclan.net>
Tue, 26 Dec 2017 14:09:06 +0000 (00:09 +1000)
committerMario <mario@smbclan.net>
Tue, 26 Dec 2017 14:09:06 +0000 (00:09 +1000)
qcsrc/server/impulse.qc

index 56ea478ae2624ed9e766e77e2a8a318412d6a106..5b426c1c3f8db9df5e0b4b187e3eb6e03859c8e8 100644 (file)
@@ -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;
        }
 }