mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'hold-flipped' into 'master'
Flip HOLD! in Encore See merge request KartKrew/Kart!1136
This commit is contained in:
commit
1606fd80d7
1 changed files with 6 additions and 0 deletions
|
|
@ -9735,6 +9735,12 @@ void K_KartEbrakeVisuals(player_t *p)
|
|||
|
||||
P_SetTarget(&p->mo->hprev, P_SpawnMobj(p->mo->x, p->mo->y, p->mo->z, MT_HOLDBUBBLE));
|
||||
p->mo->hprev->renderflags |= (RF_DONTDRAW & ~K_GetPlayerDontDrawFlag(p));
|
||||
if (encoremode)
|
||||
{
|
||||
// Don't render this text/digit mirrored.
|
||||
p->mo->hprev->renderflags ^= RF_HORIZONTALFLIP;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Update HOLD bubble.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue