aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2018-08-26 02:28:45 +0300
committerFilippos Karapetis2018-08-26 02:30:29 +0300
commitf3cb1fcd84d7ca1dd25b7adb4b54f08c535008ac (patch)
treef53614c67eca8396842b1bb7789943d05315dc40 /engines
parent51c11efbbc5a85853fe8bdedd2012f7080b893d6 (diff)
downloadscummvm-rg350-f3cb1fcd84d7ca1dd25b7adb4b54f08c535008ac.tar.gz
scummvm-rg350-f3cb1fcd84d7ca1dd25b7adb4b54f08c535008ac.tar.bz2
scummvm-rg350-f3cb1fcd84d7ca1dd25b7adb4b54f08c535008ac.zip
SCI: Fix compilation when SCI32 is disabled
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kpathing.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index fc0d24fd06..3d5ef4752b 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -1581,8 +1581,10 @@ reg_t kAvoidPath(EngineState *s, int argc, reg_t *argv) {
if (getSciVersion() <= SCI_VERSION_1_1) {
g_sci->_gfxScreen->copyToScreen();
g_system->updateScreen();
+#ifdef ENABLE_SCI32
} else {
g_sci->_gfxFrameout->kernelFrameOut(true);
+#endif
}
}