Fix split second Radio Off text

This commit is contained in:
erorcun 2021-02-19 22:56:39 +03:00
parent 14dcd8f04c
commit 040c6f9027

View file

@ -1308,6 +1308,10 @@ cMusicManager::DisplayRadioStationName()
case STREAMED_SOUND_RADIO_TAXI: case STREAMED_SOUND_RADIO_TAXI:
return; return;
default: { 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[]; extern wchar WideErrorString[];
string = TheText.Get("FEA_NON"); string = TheText.Get("FEA_NON");