mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #3120
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:
commit
996270af18
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue