mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
remindernote: false for unchanged, true for changed
This commit is contained in:
parent
da9b9ed787
commit
ef858d726b
1 changed files with 2 additions and 2 deletions
|
|
@ -448,7 +448,7 @@ bool SoundAsset::_setSoundFile(void* object, const char* index, const char* data
|
||||||
id = dAtoui(index);
|
id = dAtoui(index);
|
||||||
|
|
||||||
if (pData->mSoundFile[id] == data)
|
if (pData->mSoundFile[id] == data)
|
||||||
return true;
|
return false;
|
||||||
|
|
||||||
// Update.
|
// Update.
|
||||||
pData->mSoundFile[id] = data;
|
pData->mSoundFile[id] = data;
|
||||||
|
|
@ -459,7 +459,7 @@ bool SoundAsset::_setSoundFile(void* object, const char* index, const char* data
|
||||||
|
|
||||||
// Refresh the asset.
|
// Refresh the asset.
|
||||||
pData->refreshAsset();
|
pData->refreshAsset();
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
StringTableEntry SoundAsset::getAssetIdByFileName(StringTableEntry fileName)
|
StringTableEntry SoundAsset::getAssetIdByFileName(StringTableEntry fileName)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue