summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-02-19 20:56:39 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-19 20:56:39 +0100
commit040c6f90277481871ba98d7c1b1433bcf6401c8b (patch)
tree02a959565e1f421ed318260110319a882c67ca99 /src
parentFix MP3 player (diff)
downloadre3-040c6f90277481871ba98d7c1b1433bcf6401c8b.tar
re3-040c6f90277481871ba98d7c1b1433bcf6401c8b.tar.gz
re3-040c6f90277481871ba98d7c1b1433bcf6401c8b.tar.bz2
re3-040c6f90277481871ba98d7c1b1433bcf6401c8b.tar.lz
re3-040c6f90277481871ba98d7c1b1433bcf6401c8b.tar.xz
re3-040c6f90277481871ba98d7c1b1433bcf6401c8b.tar.zst
re3-040c6f90277481871ba98d7c1b1433bcf6401c8b.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/MusicManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index 9c6f61f6..f2e3cfd0 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -1308,6 +1308,10 @@ cMusicManager::DisplayRadioStationName()
case STREAMED_SOUND_RADIO_TAXI:
return;
default: {
+ // Otherwise pausing-resuming game will show RADIO OFF, since radio isn't set yet
+ if (m_nPlayingTrack == NO_TRACK && m_nFrontendTrack == NO_TRACK)
+ return;
+
extern wchar WideErrorString[];
string = TheText.Get("FEA_NON");