summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r--src/audio/MusicManager.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index fa1a9390..de4d0489 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -64,11 +64,14 @@ cMusicManager::DisplayRadioStationName()
if(SampleManager.IsMP3RadioChannelAvailable()) {
gStreamedSound = MusicManager.m_nCurrentStreamedSound;
- if(gStreamedSound != STREAMED_SOUND_CITY_AMBIENT &&
- gStreamedSound != STREAMED_SOUND_WATER_AMBIENT) {
- if(gStreamedSound > STREAMED_SOUND_RADIO_MP3_PLAYER) return;
- } else {
+ if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
+ gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
gStreamedSound = STREAMED_SOUND_RADIO_POLICE;
+ } else {
+
+ if(gStreamedSound >
+ STREAMED_SOUND_RADIO_MP3_PLAYER)
+ return;
}
pRetune = gNumRetunePresses + gStreamedSound;
@@ -242,4 +245,4 @@ void
cMusicManager::Service()
{
EAXJMP(0x57D440);
-} \ No newline at end of file
+}