mirror of https://github.com/ZDoom/gzdoom.git
- removed test code.
This commit is contained in:
parent
11ac0c622b
commit
b5f55cacba
|
@ -77,7 +77,7 @@ extend class StateProvider
|
|||
Weapon weap = player.ReadyWeapon;
|
||||
if (weap != null && invoker == weap && stateinfo != null && stateinfo.mStateType == STATE_Psprite)
|
||||
{
|
||||
if (!weap.DepleteAmmo (weap.bAltFire, true, deh.MaxSoulsphere/*BFGCells*/))
|
||||
if (!weap.DepleteAmmo (weap.bAltFire, true, deh.BFGCells))
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue