From a826cd36dd39aa4a0195f827b098279f5113efc7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 31 Dec 2007 13:05:32 +0000 Subject: cleanup svn-id: r30102 --- engines/scumm/imuse_digi/dimuse_music.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'engines/scumm/imuse_digi') diff --git a/engines/scumm/imuse_digi/dimuse_music.cpp b/engines/scumm/imuse_digi/dimuse_music.cpp index 41885a8e5c..044ba3e3fb 100644 --- a/engines/scumm/imuse_digi/dimuse_music.cpp +++ b/engines/scumm/imuse_digi/dimuse_music.cpp @@ -182,9 +182,9 @@ void IMuseDigital::playDigMusic(const char *songName, const imuseDigTable *table if ((!sequence) && (table->attribPos != 0) && (table->attribPos == _digStateMusicTable[_curMusicState].attribPos)) { startMusic(table->filename, table->soundId, 0, 127); - return; + } else { + startMusic(table->filename, table->soundId, hookId, 127); } - startMusic(table->filename, table->soundId, hookId, 127); break; } } @@ -227,7 +227,7 @@ void IMuseDigital::setComiMusicState(int stateId) { void IMuseDigital::setComiMusicSequence(int seqId) { int l, num = -1; - // FIXME: It turns out that setDigMusicSequence and setComiMusicSequence arae + // FIXME: It turns out that setDigMusicSequence and setComiMusicSequence are // very similiar, with only a few small differences. Question: are those differences // really differences, or just caused by a mistake on our side? @@ -326,9 +326,7 @@ void IMuseDigital::playComiMusic(const char *songName, const imuseComiTable *tab if ((!sequence) && (table->attribPos != 0) && (table->attribPos == _comiStateMusicTable[_curMusicState].attribPos)) { startMusic(table->filename, table->soundId, 0, 127); - return; - } - if (table->transitionType == 12) { + } else if (table->transitionType == 12) { startMusic(table->filename, table->soundId, table->hookId, 127); } else { startMusic(table->filename, table->soundId, hookId, 127); -- cgit v1.2.3