[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.31,1.32

Max Horn fingolfin at users.sourceforge.net
Sun Apr 13 14:30:04 CEST 2003


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

Modified Files:
	script_v5.cpp 
Log Message:
this seems to be needed for loomdemo (and loom?), too

Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- script_v5.cpp	13 Apr 2003 20:15:44 -0000	1.31
+++ script_v5.cpp	13 Apr 2003 21:29:44 -0000	1.32
@@ -954,7 +954,7 @@
 		return;
 
 	// INDY3 uses this opcode as a wait_for_actor();
-	if ((_gameId == GID_INDY3_256) || (_gameId == GID_INDY3)) {
+	if ((_gameId == GID_INDY3_256) || (_features & GF_OLD_BUNDLE)) {
 		byte *oldaddr = _scriptPointer - 1;
 		if (derefActorSafe(getVarOrDirectByte(0x80), "o5_wait")->moving) {
 			_scriptPointer = oldaddr;
@@ -2252,7 +2252,7 @@
 
 	oldaddr = _scriptPointer - 1;
 
-	if ((_gameId == GID_INDY3_256) || (_gameId == GID_INDY3)) {
+	if ((_gameId == GID_INDY3_256) || (_features & GF_OLD_BUNDLE)) {
 		_opcode = 2;
 	} else
 		_opcode = fetchScriptByte();





More information about the Scummvm-git-logs mailing list