aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorMax Horn2003-05-21 11:23:53 +0000
committerMax Horn2003-05-21 11:23:53 +0000
commitc062b734222587763f2a84754006a4ba77421c66 (patch)
tree11a5a768a817d2a7602c49c593c3d9100acbd762 /simon
parent1d916f2056b3bc27ad9c78f970b4f2f959bd0401 (diff)
downloadscummvm-rg350-c062b734222587763f2a84754006a4ba77421c66.tar.gz
scummvm-rg350-c062b734222587763f2a84754006a4ba77421c66.tar.bz2
scummvm-rg350-c062b734222587763f2a84754006a4ba77421c66.zip
fixed warning
svn-id: r7779
Diffstat (limited to 'simon')
-rw-r--r--simon/vga.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/vga.cpp b/simon/vga.cpp
index 0e5546db19..4f9c47097a 100644
--- a/simon/vga.cpp
+++ b/simon/vga.cpp
@@ -1837,7 +1837,7 @@ void SimonState::vc_70_queue_music() {
// track and, if not, whether to switch to
// a different track upon completion.
midi.setLoop (loop != 0);
- if (track != -1 && track != 999)
+ if (track != 0xFFFF && track != 999)
midi.queueTrack (track, 0);
}