mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 11:31:41 +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
1259d81b52
commit
a2b4c61a2a
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