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:
Robert Müller 2024-04-25 20:02:40 +02:00
parent c22ba00b59
commit 690912e209

View file

@ -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;