reset that one global int

This commit is contained in:
jenz 2024-02-04 22:15:55 +01:00
parent b38426245c
commit 1e1eed7242

View File

@ -801,6 +801,9 @@ public Action AddDownloadContent()
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public void LoadExtraSettings() public void LoadExtraSettings()
{ {
g_iSoundIndexes = 0; //forgot to reset, would run out bounds as well.
Handle l_hFile = INVALID_HANDLE; Handle l_hFile = INVALID_HANDLE;
char l_cLine[g_dLength]; char l_cLine[g_dLength];
if (!FileExists(g_cPathsExtra)) if (!FileExists(g_cPathsExtra))