summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-07-19 23:35:21 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-07-19 23:35:21 +0200
commite003f7ffba9983934203e2304118405c2e4f7333 (patch)
tree409428ab874deb58b600efc39a52e9c665cca0fc /src/audio/AudioManager.cpp
parentMore audio script (diff)
downloadre3-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.cpp4
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];
}