summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-28 23:44:33 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-28 23:44:33 +0100
commit810bad9fd8cf344f7d73b82f042910a4c443b0f7 (patch)
tree642eb40736bd71d12edbe5cdc7afa1a70ffe7c36 /src/audio/MusicManager.cpp
parentfix (diff)
downloadre3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar
re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.gz
re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.bz2
re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.lz
re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.xz
re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.zst
re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.zip
Diffstat (limited to '')
-rw-r--r--src/audio/MusicManager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index acfe09c3..374de081 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -1223,8 +1223,11 @@ cMusicManager::DisplayRadioStationName()
gNumRetunePresses++;
}
else
+#ifdef FIX_BUGS
+ track = m_nFrontendTrack == NO_TRACK ? POLICE_RADIO : m_nFrontendTrack;
+#else
track = m_nFrontendTrack;
-
+#endif
wchar* string = nil;
switch (track) {