[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.221,2.222

Max Horn fingolfin at users.sourceforge.net
Fri Oct 10 07:15:09 CEST 2003


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

Modified Files:
	gfx.cpp 
Log Message:
fix by hibernatus

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.221
retrieving revision 2.222
diff -u -d -r2.221 -r2.222
--- gfx.cpp	9 Oct 2003 14:17:06 -0000	2.221
+++ gfx.cpp	10 Oct 2003 14:14:36 -0000	2.222
@@ -2072,7 +2072,7 @@
 				color += bits << i;
 			}
 			for (i = 0; i < ((c & 3) + 2); i++) {
-				*dst = (run * 16 + _vm->_roomPalette[color]);
+				*dst = _vm->_roomPalette[run * 16 + color];
 				NEXT_ROW;
 			}
 			break;
@@ -2084,7 +2084,7 @@
 					READ_256BIT;
 					color += bits << j;
 				}
-				*dst = (run * 16 + _vm->_roomPalette[color]);
+				*dst = _vm->_roomPalette[run * 16 + color];
 				NEXT_ROW;
 			}
 			break;





More information about the Scummvm-git-logs mailing list