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:
parent
39df62b20e
commit
5d3e413d42
2 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue