- fixed Exhumed laptop cutscene.

This commit is contained in:
Christoph Oelckers 2021-04-17 00:01:28 +02:00
parent 2b9a527aba
commit 091a9b7fef

View file

@ -1142,7 +1142,7 @@ private:
int yy = ebp; int yy = ebp;
auto p = GStrings["REQUIRED_CHARACTERS"]; auto p = GStrings["REQUIRED_CHARACTERS"];
if (1)//p && *p) if (p && *p)
{ {
yy *= 2; yy *= 2;
for (int i = 0; i < nStringTypeOn; i++, yy += 10) for (int i = 0; i < nStringTypeOn; i++, yy += 10)
@ -1179,7 +1179,7 @@ private:
{ {
case 1: case 1:
Phase1(); Phase1();
if (skiprequest || ticks >= 60) if (skiprequest || ticks >= nextclock)
{ {
InitPhase2(); InitPhase2();
phase = 2; phase = 2;
@ -1224,6 +1224,19 @@ private:
{ {
skiprequest |= !Phase3(); 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) if (skiprequest)
{ {
state = finished; state = finished;