mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 22:10: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);
|
||||
|
||||
if (pData->mSoundFile[id] == data)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
// Update.
|
||||
pData->mSoundFile[id] = data;
|
||||
|
|
@ -459,7 +459,7 @@ bool SoundAsset::_setSoundFile(void* object, const char* index, const char* data
|
|||
|
||||
// Refresh the asset.
|
||||
pData->refreshAsset();
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
StringTableEntry SoundAsset::getAssetIdByFileName(StringTableEntry fileName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue