diff options
author | withmorten <morten.with@gmail.com> | 2021-06-28 13:31:35 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-06-28 13:31:35 +0200 |
commit | cb3b3855b844c14c0e943c1a7614fc29820cf666 (patch) | |
tree | 8e9a6ae74e9c98515b813f412476058274d3fde4 /src/audio/AudioManager.cpp | |
parent | Less invasive red tint on Delete Game page (diff) | |
download | re3-cb3b3855b844c14c0e943c1a7614fc29820cf666.tar re3-cb3b3855b844c14c0e943c1a7614fc29820cf666.tar.gz re3-cb3b3855b844c14c0e943c1a7614fc29820cf666.tar.bz2 re3-cb3b3855b844c14c0e943c1a7614fc29820cf666.tar.lz re3-cb3b3855b844c14c0e943c1a7614fc29820cf666.tar.xz re3-cb3b3855b844c14c0e943c1a7614fc29820cf666.tar.zst re3-cb3b3855b844c14c0e943c1a7614fc29820cf666.zip |
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r-- | src/audio/AudioManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index c49ce552..a3bc6a01 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -321,7 +321,7 @@ cAudioManager::Get3DProviderName(uint8 id) const if (!m_bIsInitialised) return nil; #ifdef AUDIO_OAL - id = clamp(id, 0, SampleManager.GetNum3DProvidersAvailable() - 1); + id = Clamp(id, 0, SampleManager.GetNum3DProvidersAvailable() - 1); #else // We don't want that either since it will crash the game, but skipping for now if (id >= SampleManager.GetNum3DProvidersAvailable()) |