mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
MI's last few reccomendations fixed.
This commit is contained in:
parent
e801c581d3
commit
55d8b419e2
1 changed files with 4 additions and 2 deletions
|
|
@ -8811,8 +8811,6 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
// the dead body mobj retains the skin through the 'spritedef' override).
|
// the dead body mobj retains the skin through the 'spritedef' override).
|
||||||
mobj->skin = &skins[p->skin];
|
mobj->skin = &skins[p->skin];
|
||||||
|
|
||||||
mobj->radius = FixedMul(skins[p->skin].radius, mobj->destscale);
|
|
||||||
|
|
||||||
mobj->health = p->health;
|
mobj->health = p->health;
|
||||||
p->playerstate = PST_LIVE;
|
p->playerstate = PST_LIVE;
|
||||||
|
|
||||||
|
|
@ -8827,6 +8825,10 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
P_SetScale(mobj, mobj->destscale);
|
P_SetScale(mobj, mobj->destscale);
|
||||||
P_FlashPal(p, 0, 0); // Resets
|
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.
|
// Spawn with a pity shield if necessary.
|
||||||
P_DoPityCheck(p);
|
P_DoPityCheck(p);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue