diff options
author | James Brown | 2002-05-14 18:14:16 +0000 |
---|---|---|
committer | James Brown | 2002-05-14 18:14:16 +0000 |
commit | a592de43330c4ab1162b83599e12e70696cb661c (patch) | |
tree | 4d6d4b0296fdb2fa34ae89fec6925a766f29506c /script_v1.cpp | |
parent | b5a8bb6b2a3e8ae28ca4cee1464395cb6302acb7 (diff) | |
download | scummvm-rg350-a592de43330c4ab1162b83599e12e70696cb661c.tar.gz scummvm-rg350-a592de43330c4ab1162b83599e12e70696cb661c.tar.bz2 scummvm-rg350-a592de43330c4ab1162b83599e12e70696cb661c.zip |
Remove SCUMM dependancies from SDL.C - This fixes a regular crash in Simon due to the autosaver.
This changes the OSystem interface. Porters beware.
svn-id: r4318
Diffstat (limited to 'script_v1.cpp')
-rw-r--r-- | script_v1.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/script_v1.cpp b/script_v1.cpp index 607bdb11f3..ebf149fa1c 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -2710,13 +2710,14 @@ void Scumm::decodeParseString() offset = 0; delay = (int)((getVarOrDirectWord(0x40) & 0xffff) * 7.5); if (_gameId == GID_LOOM256) { + _vars[VAR_MI1_TIMER] = 0; #ifdef COMPRESSED_SOUND_FILE if (playMP3CDTrack(1, 0, offset, delay) == -1) #endif _system->play_cdrom(1, 0, offset, delay); - } - else + } else { warning("parseString: 8"); + } } break; case 15: |