From 091a9b7fefc3dec398745bee032828de521be60a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 17 Apr 2021 00:01:28 +0200 Subject: [PATCH] - fixed Exhumed laptop cutscene. --- source/games/exhumed/src/2d.cpp | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/source/games/exhumed/src/2d.cpp b/source/games/exhumed/src/2d.cpp index 1dffb4b7d..8606ab507 100644 --- a/source/games/exhumed/src/2d.cpp +++ b/source/games/exhumed/src/2d.cpp @@ -1142,7 +1142,7 @@ private: int yy = ebp; auto p = GStrings["REQUIRED_CHARACTERS"]; - if (1)//p && *p) + if (p && *p) { yy *= 2; for (int i = 0; i < nStringTypeOn; i++, yy += 10) @@ -1179,7 +1179,7 @@ private: { case 1: Phase1(); - if (skiprequest || ticks >= 60) + if (skiprequest || ticks >= nextclock) { InitPhase2(); phase = 2; @@ -1224,6 +1224,19 @@ private: { skiprequest |= !Phase3(); } + if (skiprequest) + { + // Go to the next text page. + if (screencnt != 2) + { + screencnt++; + nextclock = ticks + 60; + skiprequest = 0; + phase = 1; + } + else state = finished; + } + if (skiprequest) { state = finished;