Merge branch 'vote-screen-crash' into 'master'

Fix rare vote screen crash

Closes #1141

See merge request KartKrew/Kart!2177
This commit is contained in:
Oni 2024-03-27 22:41:20 +00:00
commit 2f22dfecd0

View file

@ -660,7 +660,7 @@ static void Y_DrawCatcher(y_vote_catcher *catcher)
//
static void Y_DrawVoteBackground(void)
{
static fixed_t bgTimer = 0;
static UINT32 bgTimer = 0;
static fixed_t derrPos = 0;
const fixed_t derrLoop = vote_draw.bg_derrText->width * FRACUNIT;