3120: Embed map sounds by default r=heinrich5991 a=Patiga

Not one ddnet map has a external map sound since there are none which would work that way

Co-authored-by: Patiga <dev@patiga.eu>
This commit is contained in:
bors[bot] 2020-10-17 13:16:55 +00:00 committed by GitHub
commit 996270af18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3718,7 +3718,7 @@ void CEditor::AddSound(const char *pFileName, int StorageType, void *pUser)
// add sound
CEditorSound *pSound = new CEditorSound(pEditor);
pSound->m_SoundID = SoundId;
pSound->m_External = 1; // external by default
pSound->m_External = 0; // embedded by default
pSound->m_DataSize = (unsigned)DataSize;
pSound->m_pData = pData;
str_copy(pSound->m_aName, aBuf, sizeof(pSound->m_aName));