[Scummvm-git-logs] scummvm master -> 11633a3d177b2bef3836d8da1dc7ace17ddbf38b

sev- sev at scummvm.org
Mon Sep 5 00:34:28 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
11633a3d17 FULLPIPE: Fix crash on startup when pressing ESC


Commit: 11633a3d177b2bef3836d8da1dc7ace17ddbf38b
    https://github.com/scummvm/scummvm/commit/11633a3d177b2bef3836d8da1dc7ace17ddbf38b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-05T00:34:07+02:00

Commit Message:
FULLPIPE: Fix crash on startup when pressing ESC

Changed paths:
    engines/fullpipe/scene.cpp



diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index d8e3090..71990f7 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;





More information about the Scummvm-git-logs mailing list