aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/kyra_v1.cpp')
-rw-r--r--engines/kyra/kyra_v1.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index 00f96d7c97..ee184af0f4 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -161,7 +161,11 @@ Common::Error KyraEngine_v1::init() {
// but the static resource loader and the sequence player will
// need correct IDs.
if (_res->exists("scene1.cps"))
+#ifdef ENABLE_LOL
_flags.gameID = GI_LOL;
+#else
+ error("Lands of Lore demo is not supported in this build.");
+#endif // !ENABLE_LOL
}
_staticres = new StaticResource(this);