Bail invisibility

This commit is contained in:
Ashnal 2025-06-25 19:15:57 -04:00
parent 1086c1e799
commit e5c981d4ba

View file

@ -39,6 +39,10 @@ void Obj_BailThink (mobj_t *aura)
fixed_t baseScale = 12*mo->scale/10;
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;
}
}