mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Fix invalid sound index used when loading external sound fails
This should be highly unlikely because external sound mapres were never supported by the editor.
This commit is contained in:
parent
c22ba00b59
commit
690912e209
|
@ -10,7 +10,7 @@ public:
|
|||
explicit CEditorSound(CEditor *pEditor);
|
||||
~CEditorSound();
|
||||
|
||||
int m_SoundId = 0;
|
||||
int m_SoundId = -1;
|
||||
char m_aName[IO_MAX_PATH_LENGTH] = "";
|
||||
|
||||
void *m_pData = nullptr;
|
||||
|
|
Loading…
Reference in a new issue