[Scummvm-cvs-logs] CVS: scummvm script.cpp,1.47,1.48

James Brown ender at users.sourceforge.net
Mon Apr 15 22:37:04 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv9606

Modified Files:
	script.cpp 
Log Message:
Turn Indy4 mousefighting on by default. Can we do this in a better place?



Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/script.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** script.cpp	11 Apr 2002 17:19:15 -0000	1.47
--- script.cpp	16 Apr 2002 05:36:41 -0000	1.48
***************
*** 367,370 ****
--- 367,376 ----
  		checkRange(_numBitVariables - 1, 0, var,
  							 "Bit variable %d out of range(w)");
+ 
+ 		/* FIXME: Enable Indy4 mousefighting by default. 
+ 				  is there a better place to put this? */
+ 		if (_gameId == GID_INDY4 && var == 107 && vm.slot[_currentScript].number == 1)
+ 			value = 1;
+ 
  		if (value)
  			_bitVars[var >> 3] |= (1 << (var & 7));





More information about the Scummvm-git-logs mailing list