mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Instawhip: consistently flicker on opposite frame of player flashing tics
This commit is contained in:
parent
a680e11675
commit
fe6da4e087
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,8 @@ void Obj_InstaWhipThink (mobj_t *whip)
|
||||||
// Visuals
|
// Visuals
|
||||||
whip->renderflags |= RF_NOSPLATBILLBOARD|RF_FULLBRIGHT;
|
whip->renderflags |= RF_NOSPLATBILLBOARD|RF_FULLBRIGHT;
|
||||||
|
|
||||||
if (whip->renderflags & RF_DONTDRAW)
|
// This is opposite of player flashing tics
|
||||||
|
if (leveltime & 1)
|
||||||
whip->renderflags &= ~RF_DONTDRAW;
|
whip->renderflags &= ~RF_DONTDRAW;
|
||||||
else
|
else
|
||||||
whip->renderflags |= RF_DONTDRAW;
|
whip->renderflags |= RF_DONTDRAW;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue