- scriptified some trivial stuff from g_shared.

This commit is contained in:
Christoph Oelckers 2016-11-29 19:50:34 +01:00
commit a13e23dbe6
33 changed files with 276 additions and 502 deletions

View file

@ -387,6 +387,13 @@ void DThinker::ChangeStatNum (int statnum)
list->AddTail(this);
}
DEFINE_ACTION_FUNCTION(DThinker, ChangeStatNum)
{
PARAM_SELF_PROLOGUE(DThinker);
PARAM_INT(stat);
self->ChangeStatNum(stat);
return 0;
}
//==========================================================================
//
// Mark the first thinker of each list