- moved CheckRealHeight from wi_stuff.cpp to texture code.

This commit is contained in:
Christoph Oelckers 2017-03-17 23:08:22 +01:00
commit d423ad0d18
5 changed files with 40 additions and 47 deletions

View file

@ -839,15 +839,6 @@ void DoReadyWeaponToGeneric(AActor *self, int paramflags)
}
}
// This function replaces calls to A_WeaponReady in other codepointers.
void DoReadyWeapon(AActor *self)
{
DoReadyWeaponToBob(self);
DoReadyWeaponToFire(self);
DoReadyWeaponToSwitch(self);
DoReadyWeaponToGeneric(self, ~0);
}
DEFINE_ACTION_FUNCTION(AStateProvider, A_WeaponReady)
{
PARAM_ACTION_PROLOGUE(AStateProvider);