diff options
author | Sylvain Dupont | 2010-10-10 23:10:14 +0000 |
---|---|---|
committer | Sylvain Dupont | 2010-10-10 23:10:14 +0000 |
commit | ce97c61079a67317998195415eba4384ad28b12d (patch) | |
tree | 10904904afef795f3d12c0a6853e3ffc98a51592 /engines/toon/toon.cpp | |
parent | 426d6749cf534dec673e958f98711ac64a04f9a6 (diff) | |
download | scummvm-rg350-ce97c61079a67317998195415eba4384ad28b12d.tar.gz scummvm-rg350-ce97c61079a67317998195415eba4384ad28b12d.tar.bz2 scummvm-rg350-ce97c61079a67317998195415eba4384ad28b12d.zip |
TOON: Fixed offsets in hard coded conversation musics
svn-id: r53144
Diffstat (limited to 'engines/toon/toon.cpp')
-rw-r--r-- | engines/toon/toon.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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) { |