- made the status screen a class and scriptified a few more functions.

This commit is contained in:
Christoph Oelckers 2017-03-18 15:42:34 +01:00
commit 745b96beec
8 changed files with 247 additions and 52 deletions

View file

@ -761,6 +761,12 @@ DEFINE_ACTION_FUNCTION(_PlayerInfo, GetTeam)
ACTION_RETURN_INT(self->userinfo.GetTeam());
}
DEFINE_ACTION_FUNCTION(_PlayerInfo, GetNoAutostartMap)
{
PARAM_SELF_STRUCT_PROLOGUE(player_t);
ACTION_RETURN_INT(self->userinfo.GetNoAutostartMap());
}
//===========================================================================
//