aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2003-12-28 01:47:37 +0000
committerJoost Peters2003-12-28 01:47:37 +0000
commitdd7fc9f8ef5095d3ee731758978a0cf22ba9d36d (patch)
tree871f81b955328b292c09f41fa027387897b25d8f
parenteffc207b694c3d2a60fc364e3ea919dea1de9a50 (diff)
downloadscummvm-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
-rw-r--r--queen/sound.cpp2
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;
}