diff options
author | Joost Peters | 2004-01-27 21:28:17 +0000 |
---|---|---|
committer | Joost Peters | 2004-01-27 21:28:17 +0000 |
commit | 829df83f79ce9af815ee4c9a208e2404c5ab9903 (patch) | |
tree | c67229eeae17a8c42d770e8fdf2008e6371c7be7 /queen/music.cpp | |
parent | f00f911f398161f2595a9170ea3e132a6c82f677 (diff) | |
download | scummvm-rg350-829df83f79ce9af815ee4c9a208e2404c5ab9903.tar.gz scummvm-rg350-829df83f79ce9af815ee4c9a208e2404c5ab9903.tar.bz2 scummvm-rg350-829df83f79ce9af815ee4c9a208e2404c5ab9903.zip |
minor cleanup
svn-id: r12640
Diffstat (limited to 'queen/music.cpp')
-rw-r--r-- | queen/music.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/queen/music.cpp b/queen/music.cpp index c6ba04a65c..6ef7145a13 100644 --- a/queen/music.cpp +++ b/queen/music.cpp @@ -175,10 +175,7 @@ static const byte mt32_to_gm[128] = { break; //Sequential loop case 1: - if (_songQueue[1]) - setLoop(false); - else - setLoop(true); + setLoop(_songQueue[1] == 0); break; //Play once case 2: @@ -201,7 +198,7 @@ static const byte mt32_to_gm[128] = { } void MusicPlayer::playMusic() { - if (!_queuePos && !_songQueue[_queuePos]) { + if (!_songQueue[0]) { debug(5, "MusicPlayer::playMusic - Music queue is empty!"); return; } |