K_drawKartSlotMachine: fix uninitialized variable

This caused the Ring Box HUD to disappear whenever the
player was turning. But I'm the only one who got this
behavior. Funny how undefined behavior works.
This commit is contained in:
James R 2023-08-07 13:39:30 -07:00
parent 534ba7fe5d
commit 56c5e367ab

View file

@ -1614,7 +1614,7 @@ static void K_drawKartSlotMachine(void)
INT32 boxoffy = -6;
INT32 vstretch = 0;
INT32 hstretch = 3;
INT32 splitbsx, splitbsy = 0;
INT32 splitbsx = 0, splitbsy = 0;
UINT16 localcolor[3] = { stplyr->skincolor };
SINT8 colormode[3] = { TC_RAINBOW };