MI's last few reccomendations fixed.

This commit is contained in:
toasterbabe 2016-09-27 17:51:17 +01:00
parent e801c581d3
commit 55d8b419e2

View file

@ -8811,8 +8811,6 @@ void P_SpawnPlayer(INT32 playernum)
// the dead body mobj retains the skin through the 'spritedef' override).
mobj->skin = &skins[p->skin];
mobj->radius = FixedMul(skins[p->skin].radius, mobj->destscale);
mobj->health = p->health;
p->playerstate = PST_LIVE;
@ -8827,6 +8825,10 @@ void P_SpawnPlayer(INT32 playernum)
P_SetScale(mobj, mobj->destscale);
P_FlashPal(p, 0, 0); // Resets
// Set bounds accurately.
mobj->radius = FixedMul(skins[p->skin].radius, mobj->scale);
mobj->height = P_GetPlayerHeight(p);
// Spawn with a pity shield if necessary.
P_DoPityCheck(p);
}