mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't animate vote planet for reduce vfx
... instead of the temporary black BG.
This commit is contained in:
parent
915585697a
commit
51fd4ea562
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;
|
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)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue