reset that one global int
This commit is contained in:
parent
b38426245c
commit
1e1eed7242
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user