initialize this

This commit is contained in:
Alug committed 2025-02-17 21:23:55 +01:00
1 parent 72322e5f42
commit 31dabda1db
2 files changed
+4 -7

No files matched your search

+2 -2
View File
@@ -215,8 +215,8 @@ static void D_GamePadMenuScrollTicker(void)
static void D_DeviceLEDTick(void)
{
UINT8 i;
UINT16 color[MAXSPLITSCREENPLAYERS];
UINT16 curcolor[MAXSPLITSCREENPLAYERS];
static UINT16 color[MAXSPLITSCREENPLAYERS] = {0, 0, 0, 0};
static UINT16 curcolor[MAXSPLITSCREENPLAYERS] = {0, 0, 0, 0};
if (dedicated || numcontrollers == 0)
{
+2 -5
View File
@@ -895,20 +895,17 @@ UINT16 G_GetSkinColor(INT32 playernum)
{
case 0:
return cv_playercolor.value;
break;
case 1:
return cv_playercolor2.value;
break;
case 2:
return cv_playercolor3.value;
break;
case 3:
return cv_playercolor4.value;
break;
default:
return 0;
break;
}
return 0;
}
void G_SetPlayerGamepadIndicatorColor(INT32 playernum, UINT16 color)