From ce97c61079a67317998195415eba4384ad28b12d Mon Sep 17 00:00:00 2001 From: Sylvain Dupont Date: Sun, 10 Oct 2010 23:10:14 +0000 Subject: TOON: Fixed offsets in hard coded conversation musics svn-id: r53144 --- engines/toon/toon.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/toon/toon.cpp') diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp index 53008b42d4..84b404d7f2 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -2982,8 +2982,8 @@ void ToonEngine::restorePalette() { const char *ToonEngine::getSpecialConversationMusic(int32 conversationId) { static const char * const specialMusic[] = { - "BR091013", "BR091013", 0, 0, + "BR091013", "BR091013", "NET1214", "NET1214", 0, 0, "CAR1365B", "CAR1365B", @@ -2991,6 +2991,7 @@ const char *ToonEngine::getSpecialConversationMusic(int32 conversationId) { 0, 0, "CAR14431", "CAR14431", 0, 0, + 0, 0, "SCD16520", "SCD16520", "SCD16520", "SCD16520", "SCD16522", "SCD16522", @@ -3048,7 +3049,7 @@ const char *ToonEngine::getSpecialConversationMusic(int32 conversationId) { 0, 0 }; - return specialMusic[randRange(0, 1) + conversationId * 2]; + return specialMusic[randRange(0, 1) + conversationId * 2]; } void ToonEngine::viewInventoryItem(Common::String str, int32 lineId, int32 itemDest) { -- cgit v1.2.3