mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-29 03:15:40 +00:00
Fix ClearMissionAudio crash
This commit is contained in:
parent
5cb1c8580d
commit
3cbf84f98b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue