From 90f2bb6a154e36a8594d3541faf03c505d805354 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 8 Apr 2018 19:23:36 -0400 Subject: XEEN: Fix cutscene subtitles for Ellinger's Tower --- engines/xeen/locations.cpp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'engines/xeen/locations.cpp') 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(); -- cgit v1.2.3