P_InitPlayers: Use SetPlayerSkinByNum instead of direct assignment

Should fix Engine Class issue.
This commit is contained in:
toaster 2023-12-28 16:44:42 +00:00
parent a7e8a4d5ee
commit 8d39bfb2cd

View file

@ -7900,7 +7900,7 @@ static void P_InitPlayers(void)
// If we're forcing a character, do it now.
if (skin != -1)
{
players[i].skin = skin;
SetPlayerSkinByNum(i, skin);
players[i].skincolor = skins[skin].prefcolor;
players[i].followerskin = follower;