[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.27,1.28

Jonathan Gray khalek at users.sourceforge.net
Sat Apr 12 06:14:01 CEST 2003


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

Modified Files:
	script_v5.cpp 
Log Message:
hack around wrong costume in indy3 until a proper solution is found

Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- script_v5.cpp	11 Apr 2003 20:21:32 -0000	1.27
+++ script_v5.cpp	12 Apr 2003 13:13:01 -0000	1.28
@@ -1279,6 +1279,10 @@
 	int room;
 
 	room = getVarOrDirectByte(0x80);
+
+	// FIXME nasty hack to make indy have right costume
+	if ((_gameId == GID_INDY3_256) && (_currentRoom == 6) && (_currentScript == 1))
+		_actors[1].setActorCostume(10);
 	
 	// For small header games, we only call startScene if the room
 	// actually changed. This avoid unwanted (wrong) fades in Zak256





More information about the Scummvm-git-logs mailing list