[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.124,1.125

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Fri Jun 6 03:02:02 CEST 2003


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

Modified Files:
	actor.cpp 
Log Message:
Hack to fix the placement of the green transparency on the tank in the Hall
of Oddities in Sam & Max. As far as I can tell, this was a bug in the
original game as well, so this is one of the rare cases where I think a
hack is ok even as a long-term solution.


Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- actor.cpp	5 Jun 2003 15:31:34 -0000	1.124
+++ actor.cpp	6 Jun 2003 10:01:26 -0000	1.125
@@ -562,6 +562,13 @@
 		_vm->clearMsgQueue();
 	}
 
+	// HACK: The green transparency of the tank in the Hall of Oddities is
+	// is positioned one pixel too far to the left. This appears to be a
+	// bug in the original game as well.
+
+	if (_vm->_gameId == GID_SAMNMAX && newRoom == 16 && number == 5 && dstX == 235 && dstY == 236)
+		dstX++;
+
 	x = dstX;
 	y = dstY;
 	room = newRoom;





More information about the Scummvm-git-logs mailing list