mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Ironman: fix non-Race transformations and true death skin restore
This commit is contained in:
parent
29595f946b
commit
8d4688af12
1 changed files with 3 additions and 2 deletions
|
|
@ -4169,12 +4169,13 @@ void P_PlayerThink(player_t *player)
|
||||||
{
|
{
|
||||||
player->stairjank--;
|
player->stairjank--;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Random skin / "ironman"
|
// Random skin / "ironman"
|
||||||
if ((!P_MobjWasRemoved(player->mo)) & (skins[player->skin].flags & SF_IRONMAN)) // we are Heavy Magician with a mobj
|
if ((!P_MobjWasRemoved(player->mo)) && (skins[player->skin].flags & SF_IRONMAN)) // we are Heavy Magician with a mobj
|
||||||
{
|
{
|
||||||
if (((skin_t *)player->mo->skin)->flags & SF_IRONMAN) // no fakeskin yet
|
if (((skin_t *)player->mo->skin)->flags & SF_IRONMAN) // no fakeskin yet
|
||||||
{
|
{
|
||||||
if (leveltime >= introtime && !player->exiting)
|
if (leveltime >= starttime && !player->exiting)
|
||||||
{
|
{
|
||||||
if (player->fakeskin != MAXSKINS)
|
if (player->fakeskin != MAXSKINS)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue