Set player height to skin height instead of default height in G_AddPlayer

This commit is contained in:
spherallic 2024-07-01 19:53:12 +02:00
parent fd4e69425e
commit 88fa2eb776

View file

@ -3352,7 +3352,7 @@ void G_AddPlayer(INT32 playernum)
p->playerstate = PST_REBORN;
p->height = mobjinfo[MT_PLAYER].height;
p->height = skins[p->skin]->height;
if (G_GametypeUsesLives() || ((netgame || multiplayer) && (gametyperules & GTR_FRIENDLY)))
p->lives = cv_startinglives.value;