mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Obj_rideroidTrail: Use (RF_DONTDRAW & ~K_GetPlayerDontDrawFlag) instead of consoleplayer hack
This commit is contained in:
parent
d3e6c6ab02
commit
4f980dc949
1 changed files with 4 additions and 3 deletions
|
|
@ -163,9 +163,10 @@ static void Obj_rideroidTrail(mobj_t *mo)
|
||||||
|
|
||||||
if (p)
|
if (p)
|
||||||
{
|
{
|
||||||
if (p != &players[consoleplayer] && j)
|
if (j)
|
||||||
t->renderflags |= RF_DONTDRAW;
|
t->renderflags |= (RF_DONTDRAW & ~K_GetPlayerDontDrawFlag(p));
|
||||||
else if (p->startboost)
|
|
||||||
|
if (p->startboost)
|
||||||
t->color = K_RainbowColor(leveltime);
|
t->color = K_RainbowColor(leveltime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue