diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 10:11:37 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 10:11:37 +0100 |
commit | 4846564c78076eefdc4066accc204082dea2ffc7 (patch) | |
tree | e0601e3aaa03b691baa31a8608e99cf90adffb9d | |
parent | Fix debug menu memory leak (diff) | |
download | re3-4846564c78076eefdc4066accc204082dea2ffc7.tar re3-4846564c78076eefdc4066accc204082dea2ffc7.tar.gz re3-4846564c78076eefdc4066accc204082dea2ffc7.tar.bz2 re3-4846564c78076eefdc4066accc204082dea2ffc7.tar.lz re3-4846564c78076eefdc4066accc204082dea2ffc7.tar.xz re3-4846564c78076eefdc4066accc204082dea2ffc7.tar.zst re3-4846564c78076eefdc4066accc204082dea2ffc7.zip |
-rw-r--r-- | src/audio/MusicManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp index 8aedf306..bbbf3549 100644 --- a/src/audio/MusicManager.cpp +++ b/src/audio/MusicManager.cpp @@ -512,7 +512,7 @@ cMusicManager::ServiceGameMode() gRetuneCounter = 0; field_2 = false; } else if (ped) { - if (ped->m_objective != OBJECTIVE_WAIT_ON_FOOT_AT_ICE_CREAM_VAN && ped->m_objective != OBJ_55) { + if(!ped->DyingOrDead()) { #ifdef GTA_PC if (SampleManager.IsMP3RadioChannelAvailable() && vehicle->m_nRadioStation < USERTRACK |