- scriptified A_BruisAttack.

- removed 'self' as a dedicated token. Internally this gets handled as a normal but implicitly named variable so the token just gets in the way of proper processing.
- removed P_ prefix from SpawnMissile export.
- fixed a crash with misnamed function exports.
This commit is contained in:
Christoph Oelckers 2016-10-23 17:15:24 +02:00
commit 9f8a5dae21
16 changed files with 66 additions and 50 deletions

View file

@ -310,6 +310,12 @@ bool AActor::CheckMeleeRange ()
return true;
}
DEFINE_ACTION_FUNCTION(AActor, CheckMeleeRange)
{
PARAM_SELF_PROLOGUE(AActor);
ACTION_RETURN_INT(self->CheckMeleeRange());
}
//----------------------------------------------------------------------------
//
// FUNC P_CheckMeleeRange2