diff options
author | Joost Peters | 2003-12-28 01:47:37 +0000 |
---|---|---|
committer | Joost Peters | 2003-12-28 01:47:37 +0000 |
commit | dd7fc9f8ef5095d3ee731758978a0cf22ba9d36d (patch) | |
tree | 871f81b955328b292c09f41fa027387897b25d8f /queen | |
parent | effc207b694c3d2a60fc364e3ea919dea1de9a50 (diff) | |
download | scummvm-rg350-dd7fc9f8ef5095d3ee731758978a0cf22ba9d36d.tar.gz scummvm-rg350-dd7fc9f8ef5095d3ee731758978a0cf22ba9d36d.tar.bz2 scummvm-rg350-dd7fc9f8ef5095d3ee731758978a0cf22ba9d36d.zip |
Cope with song '0' (old savegames used to use this 'dummy' value)
svn-id: r11986
Diffstat (limited to 'queen')
-rw-r--r-- | queen/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp index 1a606603f4..ceeb5cc9e7 100644 --- a/queen/sound.cpp +++ b/queen/sound.cpp @@ -94,7 +94,7 @@ void Sound::playSfx(const char *base) { } void Sound::playSong(int16 songNum) { - if (songNum == STOP_MUSIC) { + if (songNum <= 0) { _vm->music()->stopSong(); return; } |