summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-02-19 22:56:39 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-19 22:56:39 +0300
commit040c6f90277481871ba98d7c1b1433bcf6401c8b (patch)
tree02a959565e1f421ed318260110319a882c67ca99 /src
parent14dcd8f04c41bb4d70590d966ef5ce45bb3e9131 (diff)
Fix split second Radio Off text
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");