aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/scene.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index d8e3090559..71990f7916 100644
--- a/engines/fullpipe/scene.cpp
+++ b/engines/fullpipe/scene.cpp
@@ -531,6 +531,10 @@ void Scene::updateScrolling() {
_messageQueueId = 0;
}
+ // Might happen very early in the game
+ if (!_picObjList.size())
+ return;
+
if (_x || _y) {
int offsetX = 0;
int offsetY = 0;