- made the Skins array scripting friendly and exported it.
This commit is contained in:
parent
6a2525b737
commit
498da825a5
17 changed files with 136 additions and 118 deletions
|
|
@ -837,7 +837,7 @@ void CopyPlayer(player_t *dst, player_t *src, const char *name)
|
|||
}
|
||||
|
||||
// Validate the skin
|
||||
dst->userinfo.SkinNumChanged(R_FindSkin(skins[dst->userinfo.GetSkin()].name, dst->CurrentPlayerClass));
|
||||
dst->userinfo.SkinNumChanged(R_FindSkin(Skins[dst->userinfo.GetSkin()].Name, dst->CurrentPlayerClass));
|
||||
|
||||
// Make sure the player pawn points to the proper player struct.
|
||||
if (dst->mo != nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue