diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 23:47:06 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 23:47:06 +0200 |
commit | e671fe682d48cc61b9d31373914269da2757aef7 (patch) | |
tree | eed8d9fb806564ea3bd272c75e9af88063a6e747 /src/audio/PolRadio.cpp | |
parent | Merge branch miami into lcs (diff) | |
parent | Frontend fix (diff) | |
download | re3-e671fe682d48cc61b9d31373914269da2757aef7.tar re3-e671fe682d48cc61b9d31373914269da2757aef7.tar.gz re3-e671fe682d48cc61b9d31373914269da2757aef7.tar.bz2 re3-e671fe682d48cc61b9d31373914269da2757aef7.tar.lz re3-e671fe682d48cc61b9d31373914269da2757aef7.tar.xz re3-e671fe682d48cc61b9d31373914269da2757aef7.tar.zst re3-e671fe682d48cc61b9d31373914269da2757aef7.zip |
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r-- | src/audio/PolRadio.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp index ba6497ce..fb2b06b4 100644 --- a/src/audio/PolRadio.cpp +++ b/src/audio/PolRadio.cpp @@ -137,7 +137,11 @@ cAudioManager::ServicePoliceRadio() if (!crimeReport) { if (wantedLevel != 0) { if (nLastSeen != 0) +#ifdef FIX_BUGS + nLastSeen -= CTimer::GetLogicalFramesPassed(); +#else --nLastSeen; +#endif else { nLastSeen = m_anRandomTable[1] % 1000 + 2000; SetupSuspectLastSeenReport(); @@ -176,7 +180,11 @@ cAudioManager::ServicePoliceRadioChannel(uint8 wantedLevel) } if (m_sPoliceRadioQueue.policeChannelTimer == 0) bChannelOpen = FALSE; if (cWait) { +#ifdef FIX_BUGS + cWait -= CTimer::GetLogicalFramesPassed(); +#else --cWait; +#endif return; } if (g_nMissionAudioSfx != NO_SAMPLE && !bChannelOpen) { |