From a16fcd8d6a79e433c1c6e73d540f1bbe27e14164 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Thu, 2 Sep 2021 19:22:50 +0300 Subject: Fixes from master --- src/audio/sampman_null.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/audio/sampman_null.cpp') diff --git a/src/audio/sampman_null.cpp b/src/audio/sampman_null.cpp index f66488b8..2e6c628d 100644 --- a/src/audio/sampman_null.cpp +++ b/src/audio/sampman_null.cpp @@ -148,20 +148,20 @@ cSampleManager::UnloadSampleBank(uint8 nBank) ASSERT( nBank < MAX_SFX_BANKS ); } -bool8 +int8 cSampleManager::IsSampleBankLoaded(uint8 nBank) { ASSERT( nBank < MAX_SFX_BANKS ); - return FALSE; + return LOADING_STATUS_NOT_LOADED; } -bool8 +uint8 cSampleManager::IsMissionAudioLoaded(uint8 nSlot, uint32 nSample) { ASSERT(nSlot < MISSION_AUDIO_COUNT); - return FALSE; + return LOADING_STATUS_NOT_LOADED; } bool8 @@ -172,12 +172,12 @@ cSampleManager::LoadMissionAudio(uint8 nSlot, uint32 nSample) return FALSE; } -bool8 +uint8 cSampleManager::IsPedCommentLoaded(uint32 nComment) { ASSERT( nComment < TOTAL_AUDIO_SAMPLES ); - return FALSE; + return LOADING_STATUS_NOT_LOADED; } -- cgit v1.2.3