Don't animate vote planet for reduce vfx

... instead of the temporary black BG.
This commit is contained in:
Sally Coolatta 2024-04-13 16:55:54 -04:00
parent 915585697a
commit 51fd4ea562

View file

@ -668,20 +668,13 @@ static void Y_DrawVoteBackground(void)
static fixed_t levelPos = 0; static fixed_t levelPos = 0;
const fixed_t levelLoop = vote_draw.bg_levelText->height * FRACUNIT; const fixed_t levelLoop = vote_draw.bg_levelText->height * FRACUNIT;
const UINT8 planetFrame = (bgTimer / FRACUNIT) % PLANET_FRAMES;
if (cv_reducevfx.value) if (cv_reducevfx.value)
{ {
// REMOVE ONCE THE RHI BUG IS FIXED, bgTimer = 0;
// BUT UNTIL THEN, IVO NEEDS TO NOT DIE
V_DrawFill(
0, 0,
BASEVIDWIDTH, BASEVIDHEIGHT,
31
);
return;
} }
const UINT8 planetFrame = (bgTimer / FRACUNIT) % PLANET_FRAMES;
V_DrawFixedPatch( V_DrawFixedPatch(
0, 0, 0, 0,
FRACUNIT, 0, FRACUNIT, 0,
@ -736,7 +729,10 @@ static void Y_DrawVoteBackground(void)
vote_draw.bg_derrText, NULL 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) static void Y_DrawVoteSelector(const fixed_t y, const fixed_t time, const UINT8 localPlayer)