mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed ammo check for weapon with 'uses both' flags
https://forum.zdoom.org/viewtopic.php?t=63047
This commit is contained in:
parent
8e684f9687
commit
36896a1224
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue