[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.139,1.140

Max Horn fingolfin at users.sourceforge.net
Tue Jul 15 12:10:05 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv18350

Modified Files:
	actor.cpp 
Log Message:
Workaround for bug #770724

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- actor.cpp	13 Jul 2003 16:22:16 -0000	1.139
+++ actor.cpp	15 Jul 2003 19:09:11 -0000	1.140
@@ -1084,6 +1084,13 @@
 		VAR(VAR_TALK_ACTOR) = 0xFF;
 	} else {
 		int oldact;
+		
+		// FIXME: Workaround for bug #770724
+		if (_gameId == GID_LOOM && _roomResource == 23 &&
+			vm.slot[_currentScript].number == 232 && _actorToPrintStrFor == 0) {
+			_actorToPrintStrFor = 2;	// Could be anything from 2 to 5. Maybe compare to original?
+		}
+		
 		a = derefActor(_actorToPrintStrFor, "actorTalk");
 		if (!a->isInCurrentRoom() && !(_features & GF_NEW_COSTUMES)) {
 			oldact = 0xFF;





More information about the Scummvm-git-logs mailing list