diff options
author | Colin Snover | 2017-09-03 21:39:06 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-03 21:39:22 -0500 |
commit | 96f702e9a8f10aebd9402a8addb7ba820265bcde (patch) | |
tree | 20e957bfe0d75f270d0edb4d9a23b39b7d3145fb /engines/sci | |
parent | 968f67997a651116ae9025980084c144866c17da (diff) | |
download | scummvm-rg350-96f702e9a8f10aebd9402a8addb7ba820265bcde.tar.gz scummvm-rg350-96f702e9a8f10aebd9402a8addb7ba820265bcde.tar.bz2 scummvm-rg350-96f702e9a8f10aebd9402a8addb7ba820265bcde.zip |
SCI: Fix builds with SCI32 disabled
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/guest_additions.cpp | 2 |
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(); } |