diff options
Diffstat (limited to 'script_v1.cpp')
-rw-r--r-- | script_v1.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/script_v1.cpp b/script_v1.cpp index 6788418497..740ac0ec34 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -2712,10 +2712,17 @@ void Scumm::decodeParseString() delay = (int)((getVarOrDirectWord(0x40) & 0xffff) * 7.5); if (_gameId == GID_LOOM256) { _vars[VAR_MI1_TIMER] = 0; + if (offset == 0 && delay == 0) { #ifdef COMPRESSED_SOUND_FILE - if (playMP3CDTrack(1, 0, offset, delay) == -1) + if (stopMP3CD() == -1) #endif - _system->play_cdrom(1, 0, offset, delay); + _system->stop_cdrom(); + } else { +#ifdef COMPRESSED_SOUND_FILE + if (playMP3CDTrack(1, 0, offset, delay) == -1) +#endif + _system->play_cdrom(1, 0, offset, delay); + } } else { warning("parseString: 8"); } |