[Scummvm-cvs-logs] scummvm master -> e448ad0f5dbaa0a5ad5e82bfbccda32df25956dd

dreammaster dreammaster at scummvm.org
Wed May 11 11:15:01 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:
e448ad0f5d TSAGE: Further fix for resetting _scrollFollower


Commit: e448ad0f5dbaa0a5ad5e82bfbccda32df25956dd
    https://github.com/scummvm/scummvm/commit/e448ad0f5dbaa0a5ad5e82bfbccda32df25956dd
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-05-11T02:13:16-07:00

Commit Message:
TSAGE: Further fix for resetting _scrollFollower

Changed paths:
    engines/tsage/scenes.cpp



diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index 5d91df0..4017ccf 100644
--- a/engines/tsage/scenes.cpp
+++ b/engines/tsage/scenes.cpp
@@ -103,6 +103,7 @@ void SceneManager::sceneChange() {
 		delete _scene;
 		_scene = NULL;
 		_sceneNumber = -1;
+		_globals->_scrollFollower = NULL;
 	}
 
 	// Set the next scene to be active
@@ -254,7 +255,6 @@ Scene::Scene() : _sceneBounds(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
 }
 
 Scene::~Scene() {
-	_globals->_scrollFollower = NULL;
 }
 
 void Scene::synchronize(Serializer &s) {






More information about the Scummvm-git-logs mailing list