aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/guest_additions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/guest_additions.cpp b/engines/sci/engine/guest_additions.cpp
index 0e4e35f7d8..792605c4b9 100644
--- a/engines/sci/engine/guest_additions.cpp
+++ b/engines/sci/engine/guest_additions.cpp
@@ -258,6 +258,7 @@ bool GuestAdditions::kGetEventHook() const {
return false;
}
+#ifdef ENABLE_SCI32
// Loading a save game while Lighthouse is still initializing itself will
// cause loading to fail if the save game contains a saved Robot state,
// because the Robot will try to restore itself into a game plane which does
@@ -272,6 +273,7 @@ bool GuestAdditions::kGetEventHook() const {
}
}
}
+#endif
return g_sci->_guestAdditions->restoreFromLauncher();
}