aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-04-08 19:23:36 -0400
committerPaul Gilbert2018-04-08 19:23:36 -0400
commit90f2bb6a154e36a8594d3541faf03c505d805354 (patch)
treea399fb3346ee21700650351238d770056975fbfa
parent5425604669c2e407c5c2c4100d5e2226c367fb61 (diff)
downloadscummvm-rg350-90f2bb6a154e36a8594d3541faf03c505d805354.tar.gz
scummvm-rg350-90f2bb6a154e36a8594d3541faf03c505d805354.tar.bz2
scummvm-rg350-90f2bb6a154e36a8594d3541faf03c505d805354.zip
XEEN: Fix cutscene subtitles for Ellinger's Tower
-rw-r--r--engines/xeen/locations.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp
index 734d71f7b6..bae474412e 100644
--- a/engines/xeen/locations.cpp
+++ b/engines/xeen/locations.cpp
@@ -1320,8 +1320,13 @@ int ReaperCutscene::show() {
sprites1.draw(0, party._isNight ? 3 : 2);
}
- _subtitles.setLine(_keyFound ? 5 : 6);
- sound.playVoice(_keyFound ? "reaper12.voc" : "reaper14.voc");
+ if (!_ccNum) {
+ _subtitles.setLine(_keyFound ? 5 : 6);
+ sound.playVoice(_keyFound ? "reaper12.voc" : "reaper14.voc");
+ } else if (_keyFound) {
+ _subtitles.setLine(2);
+ sound.playVoice("howdid1.voc");
+ }
do {
events.updateGameCounter();
@@ -1345,11 +1350,13 @@ int ReaperCutscene::show() {
windows[0].update();
WAIT(7);
- sound.playVoice(_keyFound ? "reaper12.voc" : "reaper14.voc");
- if (_keyFound)
+ if (_keyFound) {
sound.playVoice(_ccNum ? "goin1.voc" : "reaper13.voc");
- else
+ } else {
+ if (_ccNum)
+ _subtitles.setLine(3);
sound.playVoice(_ccNum ? "needkey1.voc" : "reaper15.voc");
+ }
do {
events.updateGameCounter();