diff options
Diffstat (limited to 'scumm/imuse_player.cpp')
-rw-r--r-- | scumm/imuse_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/imuse_player.cpp b/scumm/imuse_player.cpp index 3b9c225043..2257230bdd 100644 --- a/scumm/imuse_player.cpp +++ b/scumm/imuse_player.cpp @@ -698,8 +698,8 @@ void Player::key_off(uint8 chan, byte note) { bool Player::jump(uint track, uint beat, uint tick) { if (!_parser) return false; - _track_index = track; - _parser->setTrack (track); + if (_parser->setTrack (track)) + _track_index = track; if (!_parser->jumpToTick ((beat - 1) * TICKS_PER_BEAT + tick)) return false; turn_off_pedals(); |