mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
Fixed A_JumpIfNoAmmo not working.
This commit is contained in:
parent
1b55e708bc
commit
7ff76366ef
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class StateProvider : Inventory
|
|||
action state A_JumpIfNoAmmo(statelabel label)
|
||||
{
|
||||
if (stateinfo == null || stateinfo.mStateType != STATE_Psprite || player == null || player.ReadyWeapon == null ||
|
||||
!player.ReadyWeapon.CheckAmmo(player.ReadyWeapon.bAltFire, false, true))
|
||||
player.ReadyWeapon.CheckAmmo(player.ReadyWeapon.bAltFire, false, true))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue