diff options
author | aap <aap@papnet.eu> | 2020-05-05 14:21:13 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-05 14:21:13 +0200 |
commit | b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257 (patch) | |
tree | c300d6c36323e27226fe7ad0782cf945a26859f8 /src/audio/PoliceRadio.cpp | |
parent | implemented most of streamed collisions and big buildings (diff) | |
parent | Make CBaseModelInfo fields protected (diff) | |
download | re3-b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257.tar re3-b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257.tar.gz re3-b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257.tar.bz2 re3-b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257.tar.lz re3-b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257.tar.xz re3-b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257.tar.zst re3-b3b9be5e8cc5ac5d1ec262fc95ac094d10b02257.zip |
Diffstat (limited to 'src/audio/PoliceRadio.cpp')
-rw-r--r-- | src/audio/PoliceRadio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/PoliceRadio.cpp b/src/audio/PoliceRadio.cpp index 31b6c7b6..5470a1af 100644 --- a/src/audio/PoliceRadio.cpp +++ b/src/audio/PoliceRadio.cpp @@ -538,7 +538,7 @@ cAudioManager::SetupSuspectLastSeenReport() main_color = gCarColourTable[color1][1]; color_pre_modifier = gCarColourTable[color1][0]; color_post_modifier = gCarColourTable[color1][2]; - switch (veh->m_modelIndex) { + switch (veh->GetModelIndex()) { #ifdef FIX_BUGS case MI_COLUMB: main_color = SFX_POLICE_RADIO_BLUE; @@ -637,7 +637,7 @@ cAudioManager::SetupSuspectLastSeenReport() break; default: - debug("\n *** UNKNOWN CAR MODEL INDEX %d *** ", veh->m_modelIndex); + debug("\n *** UNKNOWN CAR MODEL INDEX %d *** ", veh->GetModelIndex()); return; } m_sPoliceRadioQueue.Add(m_anRandomTable[4] % 3 + SFX_POLICE_RADIO_MESSAGE_NOISE_1); |