From ef858d726bf62293371bd57895b61b9ae54f4968 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Mon, 5 Feb 2024 14:40:24 -0600 Subject: [PATCH] remindernote: false for unchanged, true for changed --- Engine/source/T3D/assets/SoundAsset.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/T3D/assets/SoundAsset.cpp b/Engine/source/T3D/assets/SoundAsset.cpp index 236463a11..bd5ca8dda 100644 --- a/Engine/source/T3D/assets/SoundAsset.cpp +++ b/Engine/source/T3D/assets/SoundAsset.cpp @@ -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)