[Scummvm-cvs-logs] CVS: scummvm/saga scene.cpp,1.90,1.91

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Thu Feb 24 00:04:17 CET 2005


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2431

Modified Files:
	scene.cpp 
Log Message:
I'm not quite sure if this is the correct fix, but by not calling
updateActorsScene() when _sceneNumber is -1 we avoid followers going into
that scene and being drawn (as garbage) early during the ITE intro. (Look
in the upper left corner -- that's where the garbage appeared for me.)


Index: scene.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/scene.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- scene.cpp	18 Feb 2005 00:00:00 -0000	1.90
+++ scene.cpp	24 Feb 2005 08:03:47 -0000	1.91
@@ -672,8 +672,11 @@
 	getInfo(&scene_info);
 
 	_sceneProc(SCENE_BEGIN, &scene_info, this);
-	
-	_vm->_actor->updateActorsScene(actorsEntrance);
+
+	// We probably don't want "followers" to go into scene -1. At the very
+	// least we don't want garbage to be drawn that early in the ITE intro.
+	if (_sceneNumber != -1)
+		_vm->_actor->updateActorsScene(actorsEntrance);
 
 	if (_desc.flags & kSceneFlagShowCursor)
 		_vm->_interface->activate();





More information about the Scummvm-git-logs mailing list