diff options
-rw-r--r-- | engines/scumm/imuse/imuse_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse/imuse_player.cpp b/engines/scumm/imuse/imuse_player.cpp index e5066ed216..bfff2e6cf1 100644 --- a/engines/scumm/imuse/imuse_player.cpp +++ b/engines/scumm/imuse/imuse_player.cpp @@ -211,8 +211,8 @@ int Player::start_seq_sound(int sound, bool reset_vars) { } void Player::uninit_parts() { - if (_parts && _parts->_player != this) - error("asd"); + assert(!_parts || _parts->_player == this); + while (_parts) _parts->uninit(); |