[Scummvm-cvs-logs] CVS: scummvm/sky screen.cpp,1.25,1.26
Robert G?ffringmann
lavosspawn at users.sourceforge.net
Tue Jun 3 11:36:05 CEST 2003
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv15707/sky
Modified Files:
screen.cpp
Log Message:
some more inits to make compiler happy.
Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/screen.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- screen.cpp 3 Jun 2003 18:10:31 -0000 1.25
+++ screen.cpp 3 Jun 2003 18:35:18 -0000 1.26
@@ -427,8 +427,8 @@
}
} while (nrToDo == 0xFF);
} while (screenPos < (GAME_SCREEN_WIDTH * GAME_SCREEN_HEIGHT));
- uint8 *gridPtr = _seqGrid; uint8 *scrPtr = _currentScreen; uint8 *rectPtr;
- uint8 rectWid = 0, rectX, rectY;
+ uint8 *gridPtr = _seqGrid; uint8 *scrPtr = _currentScreen; uint8 *rectPtr = NULL;
+ uint8 rectWid = 0, rectX = 0, rectY = 0;
for (uint8 cnty = 0; cnty < 12; cnty++) {
for (uint8 cntx = 0; cntx < 20; cntx++) {
if (*gridPtr) {
More information about the Scummvm-git-logs
mailing list