aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
}