cMusicManager::ServiceGameMode fix

This commit is contained in:
Sergeanur 2020-12-25 11:11:37 +02:00
parent bf52620175
commit 4846564c78

View File

@ -512,7 +512,7 @@ cMusicManager::ServiceGameMode()
gRetuneCounter = 0; gRetuneCounter = 0;
field_2 = false; field_2 = false;
} else if (ped) { } 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 #ifdef GTA_PC
if (SampleManager.IsMP3RadioChannelAvailable() if (SampleManager.IsMP3RadioChannelAvailable()
&& vehicle->m_nRadioStation < USERTRACK && vehicle->m_nRadioStation < USERTRACK