mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 04:51:43 +00:00
Ironman: Don't do detransform unless your real skin is actually SF_IRONMAN
This commit is contained in:
parent
d95244a693
commit
01c35b7957
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ void SetRandomFakePlayerSkin(player_t* player, boolean fast)
|
|||
// Return to base skin from an SF_IRONMAN randomization
|
||||
void ClearFakePlayerSkin(player_t* player)
|
||||
{
|
||||
if (!P_MobjWasRemoved(player->mo))
|
||||
if ((skins[player->skin].flags & SF_IRONMAN) && !P_MobjWasRemoved(player->mo))
|
||||
{
|
||||
player->mo->skin = &skins[player->skin];
|
||||
player->fakeskin = MAXSKINS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue