Add direct native calls to TexMan's native methods.
This commit is contained in:
parent
ba2b9430f8
commit
3ecda35379
3 changed files with 87 additions and 29 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue