mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
Embed sounds by default
This commit is contained in:
parent
1fb4f90191
commit
17e531374c
|
@ -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