aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/scenes/scene04.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp
index 28b2d77d5b..c8712d2a78 100644
--- a/engines/fullpipe/scenes/scene04.cpp
+++ b/engines/fullpipe/scenes/scene04.cpp
@@ -982,6 +982,10 @@ void sceneHandler04_leaveScene() {
}
}
+ if (!ex) {
+ error("sceneHandler04_leaveScene(): Cannot find exit");
+ }
+
ex->_y = g_vars->scene04_bottle->_oy - 304;
mq->chain(0);