From 51fd4ea56274c088baad08098da64cdec81b59bc Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Sat, 13 Apr 2024 16:55:54 -0400 Subject: [PATCH] Don't animate vote planet for reduce vfx ... instead of the temporary black BG. --- src/k_vote.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/k_vote.c b/src/k_vote.c index 821128bb0..ca6bb4c79 100644 --- a/src/k_vote.c +++ b/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)