- removed test code.

This commit is contained in:
Christoph Oelckers 2016-11-25 09:56:06 +01:00
parent 11ac0c622b
commit b5f55cacba

View file

@ -77,7 +77,7 @@ extend class StateProvider
Weapon weap = player.ReadyWeapon; Weapon weap = player.ReadyWeapon;
if (weap != null && invoker == weap && stateinfo != null && stateinfo.mStateType == STATE_Psprite) 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; return;
} }