summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-22 12:40:57 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-22 12:40:57 +0200
commit3cbf84f98be6c07df52f103d56ec347d35740963 (patch)
tree6dc79a356a94aca0648f3fdbfb805b10b82eb67a /src
parentactivate command (diff)
downloadre3-3cbf84f98be6c07df52f103d56ec347d35740963.tar
re3-3cbf84f98be6c07df52f103d56ec347d35740963.tar.gz
re3-3cbf84f98be6c07df52f103d56ec347d35740963.tar.bz2
re3-3cbf84f98be6c07df52f103d56ec347d35740963.tar.lz
re3-3cbf84f98be6c07df52f103d56ec347d35740963.tar.xz
re3-3cbf84f98be6c07df52f103d56ec347d35740963.tar.zst
re3-3cbf84f98be6c07df52f103d56ec347d35740963.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/AudioManager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 14af25bf..4cebe118 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -119,7 +119,11 @@ public:
VALIDATE_SIZE(cPedComments, 0x490);
+#ifdef FIX_BUGS // LCS extends the number of mission slots but not audio channels, the game would crash on ClearMissionAudio trying to stop channels that don't exist
+#define MISSION_AUDIO_SLOTS (2)
+#else
#define MISSION_AUDIO_SLOTS (5)
+#endif
// name made up
class cAudioScriptObjectManager