diff options
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 637df6019a..839665dd67 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -3245,20 +3245,14 @@ void DreamGenContext::runIntroSeq() { do { vSync(); - if (data.byte(kLasthardkey) == 1) { - getRidOfTempText(); - clearBeforeLoad(); - return; // "earlyendrun" - } + if (data.byte(kLasthardkey) == 1) + break; spriteUpdate(); vSync(); - if (data.byte(kLasthardkey) == 1) { - getRidOfTempText(); - clearBeforeLoad(); - return; // "earlyendrun" - } + if (data.byte(kLasthardkey) == 1) + break; delEverything(); printSprites(); @@ -3267,23 +3261,23 @@ void DreamGenContext::runIntroSeq() { useTimedText(); vSync(); - if (data.byte(kLasthardkey) == 1) { - getRidOfTempText(); - clearBeforeLoad(); - return; // "earlyendrun" - } + if (data.byte(kLasthardkey) == 1) + break; dumpMap(); dumpTimedText(); vSync(); - if (data.byte(kLasthardkey) == 1) { - getRidOfTempText(); - clearBeforeLoad(); - return; // "earlyendrun" - } + if (data.byte(kLasthardkey) == 1) + break; + + } while (data.byte(kGetback) != 1); - } while (data.byte(kGetback) != 1); + + if (data.byte(kLasthardkey) == 1) { + getRidOfTempText(); + clearBeforeLoad(); + } // These were not called in this program arc // in the original code.. Bug? |