- scriptified UpdateSkins.

This commit is contained in:
Christoph Oelckers 2017-02-17 22:12:56 +01:00
commit 97eed1e6df
6 changed files with 62 additions and 10 deletions

View file

@ -673,6 +673,11 @@ DEFINE_ACTION_FUNCTION(_PlayerInfo, GetPlayerClassNum)
ACTION_RETURN_INT(self->userinfo.GetPlayerClassNum());
}
DEFINE_ACTION_FUNCTION(_PlayerInfo, GetSkin)
{
PARAM_SELF_STRUCT_PROLOGUE(player_t);
ACTION_RETURN_INT(self->userinfo.GetSkin());
}
//===========================================================================
//