aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/worldofxeen/worldofxeen_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/worldofxeen/worldofxeen_game.cpp')
-rw-r--r--engines/xeen/worldofxeen/worldofxeen_game.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/xeen/worldofxeen/worldofxeen_game.cpp b/engines/xeen/worldofxeen/worldofxeen_game.cpp
index 125f9f26c6..f7c9336c64 100644
--- a/engines/xeen/worldofxeen/worldofxeen_game.cpp
+++ b/engines/xeen/worldofxeen/worldofxeen_game.cpp
@@ -28,6 +28,7 @@ namespace Xeen {
WorldOfXeenEngine::WorldOfXeenEngine(OSystem *syst, const XeenGameDescription *gameDesc)
: XeenEngine(syst, gameDesc) {
+ _seenDarkSideIntro = false;
}
void WorldOfXeenEngine::showIntro() {
@@ -35,7 +36,9 @@ void WorldOfXeenEngine::showIntro() {
if (gDebugLevel == 0)
return;
- showDarkSideTitle(*this);
+ bool completed = showDarkSideTitle(*this);
+ if (!_seenDarkSideIntro && completed)
+ showDarkSideIntro(*this);
}
} // End of namespace Xeen