aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-11-16 00:40:13 +0100
committerPaul Gilbert2014-12-12 22:33:52 -0500
commit1ad11d091f03aeb437413c328c36bed1c08b73d8 (patch)
tree4f0089b4f8a66fb6c1a9873fb2b19429a076eac3
parent731d7d20394d6cb8852fcc32e9beadc46d724cc7 (diff)
downloadscummvm-rg350-1ad11d091f03aeb437413c328c36bed1c08b73d8.tar.gz
scummvm-rg350-1ad11d091f03aeb437413c328c36bed1c08b73d8.tar.bz2
scummvm-rg350-1ad11d091f03aeb437413c328c36bed1c08b73d8.zip
ACCESS: Simplify doIntroduction()
-rw-r--r--engines/access/amazon/amazon_game.cpp20
1 files changed, 8 insertions, 12 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp
index f10c933d44..d110a6cf44 100644
--- a/engines/access/amazon/amazon_game.cpp
+++ b/engines/access/amazon/amazon_game.cpp
@@ -117,21 +117,17 @@ void AmazonEngine::doIntroduction() {
_events->showCursor();
_screen->setPanel(3);
doTitle();
- if (shouldQuit())
+
+ if (shouldQuit() || _skipStart)
return;
- if (!_skipStart) {
- _screen->setPanel(3);
- doOpening();
- if (shouldQuit())
- return;
+ _screen->setPanel(3);
+ doOpening();
- if (!_skipStart) {
- doTent();
- if (shouldQuit())
- return;
- }
- }
+ if (shouldQuit() || _skipStart)
+ return;
+
+ doTent();
}
void AmazonEngine::doCredit() {