diff options
author | Torbjörn Andersson | 2006-11-12 02:27:20 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-11-12 02:27:20 +0000 |
commit | 7e0d08f52aaf4840d41720fe2eaf48b5404d3f59 (patch) | |
tree | e3dc5043e750a2a2af54d0d59ba4829490e3958b /engines/scumm | |
parent | c5fca7b9ce82086772a56876212ca70650090446 (diff) | |
download | scummvm-rg350-7e0d08f52aaf4840d41720fe2eaf48b5404d3f59.tar.gz scummvm-rg350-7e0d08f52aaf4840d41720fe2eaf48b5404d3f59.tar.bz2 scummvm-rg350-7e0d08f52aaf4840d41720fe2eaf48b5404d3f59.zip |
Replaced cryptic error() with an assertion.
svn-id: r24681
Diffstat (limited to 'engines/scumm')
-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(); |