diff options
author | Filippos Karapetis | 2018-07-09 00:36:36 +0300 |
---|---|---|
committer | Filippos Karapetis | 2018-07-09 00:41:04 +0300 |
commit | fc5261b0c4216885b3f4bb8db2df3fba3fcd8433 (patch) | |
tree | 4c7a098d403055cea64d1b4d6f5a05d63bbdd272 /engines/dreamweb/people.cpp | |
parent | a5a45fdae16dbae164eb3f3a5ca9113e89851761 (diff) | |
download | scummvm-rg350-fc5261b0c4216885b3f4bb8db2df3fba3fcd8433.tar.gz scummvm-rg350-fc5261b0c4216885b3f4bb8db2df3fba3fcd8433.tar.bz2 scummvm-rg350-fc5261b0c4216885b3f4bb8db2df3fba3fcd8433.zip |
DREAMWEB: Fix speech during the monk cutscene in non-English versions
Fixes bugs #6288 and #6417
Diffstat (limited to 'engines/dreamweb/people.cpp')
-rw-r--r-- | engines/dreamweb/people.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp index 6e47513a21..026f6d1570 100644 --- a/engines/dreamweb/people.cpp +++ b/engines/dreamweb/people.cpp @@ -523,9 +523,10 @@ void DreamWebEngine::candles(ReelRoutine &routine) { void DreamWebEngine::gates(ReelRoutine &routine) { if (checkSpeed(routine)) { uint16 nextReelPointer = routine.reelPointer() + 1; + uint16 checkIntro3ReelPointer = (getLanguage() != Common::ES_ESP) ? 110 : 111; if (nextReelPointer == 116) _sound->playChannel1(17); - if (nextReelPointer >= 110) + if (nextReelPointer >= checkIntro3ReelPointer) routine.period = 2; if (nextReelPointer == 120) { _getBack = 1; @@ -743,10 +744,12 @@ void DreamWebEngine::introMonks2(ReelRoutine &routine) { } if (nextReelPointer == 110) { + int introCountCheck = (getLanguage() != Common::DE_DEU && getLanguage() != Common::ES_ESP) ? 35 : 40; + _introCount++; monks2text(); - if (_introCount == 35) + if (_introCount == introCountCheck) nextReelPointer = 111; else nextReelPointer = 98; |