Add direct native calls to TexMan's native methods.

This commit is contained in:
Christoph Oelckers 2018-11-29 19:41:03 +01:00
commit 3ecda35379
3 changed files with 87 additions and 29 deletions

View file

@ -392,7 +392,12 @@ void DThinker::ChangeStatNum (int statnum)
list->AddTail(this);
}
DEFINE_ACTION_FUNCTION(DThinker, ChangeStatNum)
static void ChangeStatNum(DThinker *thinker, int statnum)
{
thinker->ChangeStatNum(statnum);
}
DEFINE_ACTION_FUNCTION_NATIVE(DThinker, ChangeStatNum, ChangeStatNum)
{
PARAM_SELF_PROLOGUE(DThinker);
PARAM_INT(stat);