mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Bail invisibility
This commit is contained in:
parent
1086c1e799
commit
e5c981d4ba
1 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,10 @@ void Obj_BailThink (mobj_t *aura)
|
||||||
fixed_t baseScale = 12*mo->scale/10;
|
fixed_t baseScale = 12*mo->scale/10;
|
||||||
|
|
||||||
P_SetScale(aura, baseScale);
|
P_SetScale(aura, baseScale);
|
||||||
|
|
||||||
|
// make target player invisible during the effect, like the retro games
|
||||||
|
if (aura->state == &states[S_BAIL])
|
||||||
|
mo->renderflags |= RF_DONTDRAW;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue