aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2002-11-08 02:15:11 +0000
committerTravis Howell2002-11-08 02:15:11 +0000
commit04c1d2f90c64ad6f92850901bb7540ad56df987c (patch)
tree51d464fa3f2c00d69e23666acde70f4b8d787def
parentc879445d432cd7c1110220435b1db2bbb19b2d5f (diff)
downloadscummvm-rg350-04c1d2f90c64ad6f92850901bb7540ad56df987c.tar.gz
scummvm-rg350-04c1d2f90c64ad6f92850901bb7540ad56df987c.tar.bz2
scummvm-rg350-04c1d2f90c64ad6f92850901bb7540ad56df987c.zip
Changed wrong section
svn-id: r5459
-rw-r--r--simon/simon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 3876e5d4f5..10110d97c0 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4960,13 +4960,13 @@ void SimonState::playMusic(uint music)
midi.initialize();
midi.play();
- } else if (!(_game & GAME_SIMON2)){
+ } else if (!(_game & GAME_SIMON2) && !(_game & GAME_DEMO)){
midi.shutdown();
if (_game & GAME_TALKIE) {
_game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music], SEEK_SET);
midi.read_all_songs_old(_game_file);
- } else if (_game == GAME_SIMON1DOS) {
+ } else {
char buf[50];
File *f = new File();
sprintf(buf, "MOD%d.MUS", music);