From 53f922b1d7b06979f23921af107d2a444848465f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 1 Feb 2018 22:19:36 -0500 Subject: XEEN: Fix display of dragon text at start of World ending --- engines/xeen/worldofxeen/darkside_cutscenes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/xeen/worldofxeen/darkside_cutscenes.cpp') diff --git a/engines/xeen/worldofxeen/darkside_cutscenes.cpp b/engines/xeen/worldofxeen/darkside_cutscenes.cpp index d0fe869fd0..d9cf3e1287 100644 --- a/engines/xeen/worldofxeen/darkside_cutscenes.cpp +++ b/engines/xeen/worldofxeen/darkside_cutscenes.cpp @@ -1205,6 +1205,7 @@ void DarkSideCutscenes::showPharaohEndText(const char *msg1, const char *msg2, c // Show each page until a key is pressed do { // Draw the dragon pharoah + events.updateGameCounter(); screen.restoreBackground(); claw.draw(0, 5, Common::Point(CUTSCENES_XLIST[idx], CUTSCENES_YLIST[idx]), SPRFLAG_800); claw.draw(0, 6, Common::Point(145, 185)); @@ -1220,10 +1221,9 @@ void DarkSideCutscenes::showPharaohEndText(const char *msg1, const char *msg2, c text[pageNum]); windows[39].writeString(str2); + windows[0].update(); + events.wait(3); idx = (idx + 1) % 32; - screen.update(); - - events.pollEventsAndWait(); } while (!_vm->shouldQuit() && !events.isKeyMousePressed()); events.clearEvents(); -- cgit v1.2.3