From 040c6f90277481871ba98d7c1b1433bcf6401c8b Mon Sep 17 00:00:00 2001 From: erorcun Date: Fri, 19 Feb 2021 22:56:39 +0300 Subject: Fix split second Radio Off text --- src/audio/MusicManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- cgit v1.2.3