[Scummvm-cvs-logs] scummvm master -> 26501fb46c86ad5473a6258359dc30bd1c1d92f1

dreammaster dreammaster at scummvm.org
Mon Apr 18 12:15:27 CEST 2011


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:
26501fb46c TSAGE: Initialise scene zoom percents in constructor. Fixes crash at the end of Scene #1400


Commit: 26501fb46c86ad5473a6258359dc30bd1c1d92f1
    https://github.com/scummvm/scummvm/commit/26501fb46c86ad5473a6258359dc30bd1c1d92f1
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-04-18T03:13:30-07:00

Commit Message:
TSAGE: Initialise scene zoom percents in constructor. Fixes crash at the end of Scene #1400

Changed paths:
    engines/tsage/scenes.cpp



diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index a750076..748e866 100644
--- a/engines/tsage/scenes.cpp
+++ b/engines/tsage/scenes.cpp
@@ -232,6 +232,7 @@ Scene::Scene() : _sceneBounds(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
 			_backgroundBounds(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT) {
 	_sceneMode = 0;
 	_oldSceneBounds = Rect(4000, 4000, 4100, 4100);
+	Common::set_to(&_zoomPercents[0], &_zoomPercents[256], 0);
 }
 
 Scene::~Scene() {






More information about the Scummvm-git-logs mailing list