summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-22 21:29:14 +0200
committerGitHub <noreply@github.com>2019-06-22 21:29:14 +0200
commit7a77f995b2f08b998d72d8db44790a0606f2d52d (patch)
treee044cb90c729554cf56ed76c039231bb04c78671 /src/audio
parentbla (diff)
parentattempt to fix build error (diff)
downloadre3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.gz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.bz2
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.lz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.xz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.zst
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/MusicManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index cc86b584..f9c02739 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -51,7 +51,7 @@ void cMusicManager::DisplayRadioStationName()
int8 gStreamedSound;
int8 gRetuneCounter;
- if (!CTimer::GetIsPaused() && !TheCamera.m_WideScreenOn && cMusicManager::PlayerInCar() && CReplay::Mode != 1) {
+ if (!CTimer::GetIsPaused() && !TheCamera.m_WideScreenOn && cMusicManager::PlayerInCar() && !CReplay::IsPlayingBack()) {
if (MusicManager.m_bPlayerInCar && !MusicManager.m_bPreviousPlayerInCar)
pCurrentStation = nullptr;