Make A_Stop an action function again

- A_Stop takes no parameters, so it should be an action function to avoid
  creating the wrapper when called.
This commit is contained in:
Randy Heit 2016-04-19 20:46:30 -05:00
commit 5d3e413d42
2 changed files with 2 additions and 2 deletions

View file

@ -3379,7 +3379,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckCeiling)
//===========================================================================
DEFINE_ACTION_FUNCTION(AActor, A_Stop)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_ACTION_PROLOGUE;
self->Vel.Zero();
if (self->player && self->player->mo == self && !(self->player->cheats & CF_PREDICTING))
{