diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2019-07-19 23:35:21 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2019-07-19 23:35:21 +0200 |
commit | e003f7ffba9983934203e2304118405c2e4f7333 (patch) | |
tree | 409428ab874deb58b600efc39a52e9c665cca0fc /src/audio/AudioManager.cpp | |
parent | More audio script (diff) | |
download | re3-e003f7ffba9983934203e2304118405c2e4f7333.tar re3-e003f7ffba9983934203e2304118405c2e4f7333.tar.gz re3-e003f7ffba9983934203e2304118405c2e4f7333.tar.bz2 re3-e003f7ffba9983934203e2304118405c2e4f7333.tar.lz re3-e003f7ffba9983934203e2304118405c2e4f7333.tar.xz re3-e003f7ffba9983934203e2304118405c2e4f7333.tar.zst re3-e003f7ffba9983934203e2304118405c2e4f7333.zip |
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r-- | src/audio/AudioManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index 0fbc325a..07469b87 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -794,10 +794,10 @@ cAudioManager::MissionScriptAudioUsesPoliceChannel(int32 soundMission) } } -uint8 +char * cAudioManager::Get3DProviderName(uint8 id) { - if(m_bIsInitialised) return 0; + if(!m_bIsInitialised) return 0; if(id >= num3DProvidersAvailable) return 0; return asName3DProviders[id]; } |