[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.48,1.49

Jonathan Gray khalek at users.sourceforge.net
Sat May 10 07:41:03 CEST 2003


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

Modified Files:
	akos.cpp 
Log Message:
fix variable acces

Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- akos.cpp	8 May 2003 15:48:45 -0000	1.48
+++ akos.cpp	10 May 2003 14:40:09 -0000	1.49
@@ -644,7 +644,7 @@
 	v1.scaletable = default_scale_table;
 
 	// FIXME - which value for VAR_CUSTOMSCALETABLE in V8 ?
-	if (_vm->isGlobInMemory(rtString, _vm->VAR(_vm->VAR_CUSTOMSCALETABLE))) {
+	if (_vm->VAR_CUSTOMSCALETABLE != 0xFF && _vm->isGlobInMemory(rtString, _vm->VAR(_vm->VAR_CUSTOMSCALETABLE))) {
 		v1.scaletable = _vm->getStringAddressVar(_vm->VAR_CUSTOMSCALETABLE);
 	}
 





More information about the Scummvm-git-logs mailing list