preventing index array out of bounds

This commit is contained in:
jenz
2026-09-28 21:24:36 +02:00
parent 2250d0009c
commit fc64e0ca07
+1 -1
View File
@@ -25,7 +25,7 @@ bool g_bHitmarkerSound[MAXPLAYERS+1];
int g_iHitmarkerSoundVolume[MAXPLAYERS+1] = {100,...};
int g_iHitmarkerSkin[MAXPLAYERS+1];
#define MAXIMUMSKINS 12
#define MAXIMUMSKINS 24
char g_sHitmarkerSkins[MAXIMUMSKINS][PLATFORM_MAX_PATH];
char g_sHitmarkerSkinsNames[MAXIMUMSKINS][PLATFORM_MAX_PATH];