mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Y_DrawVoteBackground: use unsigned type to avoid negative modulo into underflow
- Fixes a rare crash if the vote screen has been present enough times
This commit is contained in:
parent
31afbef95a
commit
1e6c401e96
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue