mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 19:41:29 +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
|
||||
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;
|
||||
else
|
||||
whip->renderflags |= RF_DONTDRAW;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue