aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-04-18 20:13:30 +1000
committerPaul Gilbert2011-04-18 20:13:30 +1000
commit26501fb46c86ad5473a6258359dc30bd1c1d92f1 (patch)
tree7174b5d5f543224870fce9def3cffacdf31b5e48
parente34739aaef74ec48227ce0bed3990fa4d51147b5 (diff)
downloadscummvm-rg350-26501fb46c86ad5473a6258359dc30bd1c1d92f1.tar.gz
scummvm-rg350-26501fb46c86ad5473a6258359dc30bd1c1d92f1.tar.bz2
scummvm-rg350-26501fb46c86ad5473a6258359dc30bd1c1d92f1.zip
TSAGE: Initialise scene zoom percents in constructor. Fixes crash at the end of Scene #1400
-rw-r--r--engines/tsage/scenes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index a750076eaa..748e8662fd 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() {