From 36896a12245c6917a9e45562073e8f2bb9c47f1d Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 29 Dec 2018 13:36:10 +0200 Subject: [PATCH] - fixed ammo check for weapon with 'uses both' flags https://forum.zdoom.org/viewtopic.php?t=63047 --- wadsrc/static/zscript/inventory/weapons.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/inventory/weapons.txt b/wadsrc/static/zscript/inventory/weapons.txt index 25817d8ce..2bddece74 100644 --- a/wadsrc/static/zscript/inventory/weapons.txt +++ b/wadsrc/static/zscript/inventory/weapons.txt @@ -898,7 +898,7 @@ class Weapon : StateProvider } let altFire = (fireMode == AltFire); let optional = (altFire? bAlt_Ammo_Optional : bAmmo_Optional); - let useboth = (altFire? bPrimary_Uses_Both : bAlt_Uses_Both); + let useboth = (altFire? bAlt_Uses_Both : bPrimary_Uses_Both); if (!requireAmmo && optional) {