mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'reduce-vfx-vote-bg' into 'master'
Don't animate vote planet for reduce vfx See merge request KartKrew/Kart!2279
This commit is contained in:
commit
077f12344e
1 changed files with 7 additions and 11 deletions
18
src/k_vote.c
18
src/k_vote.c
|
|
@ -668,20 +668,13 @@ static void Y_DrawVoteBackground(void)
|
|||
static fixed_t levelPos = 0;
|
||||
const fixed_t levelLoop = vote_draw.bg_levelText->height * FRACUNIT;
|
||||
|
||||
const UINT8 planetFrame = (bgTimer / FRACUNIT) % PLANET_FRAMES;
|
||||
|
||||
if (cv_reducevfx.value)
|
||||
{
|
||||
// REMOVE ONCE THE RHI BUG IS FIXED,
|
||||
// BUT UNTIL THEN, IVO NEEDS TO NOT DIE
|
||||
V_DrawFill(
|
||||
0, 0,
|
||||
BASEVIDWIDTH, BASEVIDHEIGHT,
|
||||
31
|
||||
);
|
||||
return;
|
||||
bgTimer = 0;
|
||||
}
|
||||
|
||||
const UINT8 planetFrame = (bgTimer / FRACUNIT) % PLANET_FRAMES;
|
||||
|
||||
V_DrawFixedPatch(
|
||||
0, 0,
|
||||
FRACUNIT, 0,
|
||||
|
|
@ -736,7 +729,10 @@ static void Y_DrawVoteBackground(void)
|
|||
vote_draw.bg_derrText, NULL
|
||||
);
|
||||
|
||||
bgTimer += renderdeltatics;
|
||||
if (!cv_reducevfx.value)
|
||||
{
|
||||
bgTimer += renderdeltatics;
|
||||
}
|
||||
}
|
||||
|
||||
static void Y_DrawVoteSelector(const fixed_t y, const fixed_t time, const UINT8 localPlayer)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue