diff options
author | Travis Howell | 2002-11-07 17:41:02 +0000 |
---|---|---|
committer | Travis Howell | 2002-11-07 17:41:02 +0000 |
commit | 4522230d372bb8e0033072d782e97de08a5d9c48 (patch) | |
tree | 1c3e5b9cd9a2cac576f8224b0242bebee2677692 /simon | |
parent | 5f85f65eec8125fb484cef0b05faac9e017ff770 (diff) | |
download | scummvm-rg350-4522230d372bb8e0033072d782e97de08a5d9c48.tar.gz scummvm-rg350-4522230d372bb8e0033072d782e97de08a5d9c48.tar.bz2 scummvm-rg350-4522230d372bb8e0033072d782e97de08a5d9c48.zip |
Add work around for simon 1 ending slowdown/freeze when music is enabled.
svn-id: r5457
Diffstat (limited to 'simon')
-rw-r--r-- | simon/items.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index d9259ea34e..7c08d33aa0 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -1624,7 +1624,9 @@ void SimonState::o_unk_127() if (a == 12) a=0; - if (a != _last_music_played) { + //FIXME simon 1 attempts to use music track 35 in ending sequences + // which doesn't exist so prevent that happening + if ((a != _last_music_played) && (a < 35)) { _last_music_played = a; playMusic(a); } |