diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 11:11:37 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 11:11:37 +0200 |
commit | 4846564c78076eefdc4066accc204082dea2ffc7 (patch) | |
tree | e0601e3aaa03b691baa31a8608e99cf90adffb9d /src/audio/MusicManager.cpp | |
parent | bf526201752ba2c07a722dd3974964427d7d9e01 (diff) |
cMusicManager::ServiceGameMode fix
Diffstat (limited to 'src/audio/MusicManager.cpp')
-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 |