aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJamieson Christian2003-05-25 15:47:06 +0000
committerJamieson Christian2003-05-25 15:47:06 +0000
commit11e59488ef4dcdd5931e926e45fcaaec4624793f (patch)
tree9248cf86799ae0bee595ccf87229c4ae625549b9 /scumm
parent48f277e65d42c725163aa7516aae529fd94255f0 (diff)
downloadscummvm-rg350-11e59488ef4dcdd5931e926e45fcaaec4624793f.tar.gz
scummvm-rg350-11e59488ef4dcdd5931e926e45fcaaec4624793f.tar.bz2
scummvm-rg350-11e59488ef4dcdd5931e926e45fcaaec4624793f.zip
Fixed occassional music crashes when loading games.
Thanks to eriktorbjorn for finding this issue. svn-id: r7959
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse_player.cpp b/scumm/imuse_player.cpp
index ae19715fb0..134fe3af25 100644
--- a/scumm/imuse_player.cpp
+++ b/scumm/imuse_player.cpp
@@ -145,7 +145,7 @@ bool Player::isFadingOut() {
void Player::clear() {
if (_parser)
- _parser->jumpToTick (0);
+ _parser->unloadMusic();
uninit_parts();
_se->ImFireAllTriggers (_id);
_active = false;