mirror of
https://github.com/halpz/re3.git
synced 2024-12-23 17:45:28 +00:00
radio scroll fix
This commit is contained in:
parent
cac7516d39
commit
b834d92585
|
@ -89,7 +89,7 @@ cMusicManager::DisplayRadioStationName()
|
||||||
|
|
||||||
if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
|
if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
|
||||||
gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
|
gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
|
||||||
gStreamedSound = RADIO_OFF;
|
gStreamedSound = POLICE_RADIO; // which means OFF
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if(gStreamedSound >
|
if(gStreamedSound >
|
||||||
|
@ -117,7 +117,7 @@ cMusicManager::DisplayRadioStationName()
|
||||||
|
|
||||||
if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
|
if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
|
||||||
gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
|
gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
|
||||||
gStreamedSound = RADIO_OFF;
|
gStreamedSound = POLICE_RADIO; // which means OFF
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if(gStreamedSound >
|
if(gStreamedSound >
|
||||||
|
@ -170,13 +170,13 @@ cMusicManager::DisplayRadioStationName()
|
||||||
case CHATTERBOX: string = TheText.Get("FEA_FM8"); break;
|
case CHATTERBOX: string = TheText.Get("FEA_FM8"); break;
|
||||||
case USERTRACK: string = TheText.Get("FEA_FM9"); break;
|
case USERTRACK: string = TheText.Get("FEA_FM9"); break;
|
||||||
#ifdef RADIO_OFF_TEXT
|
#ifdef RADIO_OFF_TEXT
|
||||||
case RADIO_OFF: string = TheText.Get("FEM_OFF"); break;
|
case RADIO_OFF: case POLICE_RADIO: string = TheText.Get("FEM_OFF"); break;
|
||||||
#endif
|
#endif
|
||||||
default: return;
|
default: return;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef RADIO_OFF_TEXT
|
#ifdef RADIO_OFF_TEXT
|
||||||
if(pRetune == USERTRACK && !SampleManager.IsMP3RadioChannelAvailable()) { return; }
|
if(pRetune == USERTRACK && !SampleManager.IsMP3RadioChannelAvailable()) { string = TheText.Get("FEM_OFF"); }
|
||||||
#else
|
#else
|
||||||
if(pRetune > CHATTERBOX && !SampleManager.IsMP3RadioChannelAvailable()) { return; }
|
if(pRetune > CHATTERBOX && !SampleManager.IsMP3RadioChannelAvailable()) { return; }
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue