[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.421,2.422

Travis Howell kirben at users.sourceforge.net
Sat Oct 4 23:12:02 CEST 2003


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

Modified Files:
	scummvm.cpp 
Log Message:

This should fix distaff display after reload in loom/loomcd.


Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.421
retrieving revision 2.422
diff -u -d -r2.421 -r2.422
--- scummvm.cpp	4 Oct 2003 11:50:21 -0000	2.421
+++ scummvm.cpp	5 Oct 2003 06:11:15 -0000	2.422
@@ -1378,7 +1378,13 @@
 		gdi.clearCharsetMask();
 		_charset->_hasMask = false;
 
-		if (_version > 3) {
+		if (_gameId == GID_LOOM || _gameId == GID_LOOM256) {
+			int args = 2;
+			uint value = (_gameId == GID_LOOM256) ? 150 : 100;
+			redrawVerbs();
+			if (VAR(value) == 2)
+				runScript(18, 0, 0, &args);
+		} else if (_version > 3) {
 			for (int i = 0; i < _maxVerbs; i++)
 				drawVerb(i, 0);
 		} else {





More information about the Scummvm-git-logs mailing list