[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.338,2.339
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Sep 26 08:02:48 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2714
Modified Files:
gfx.cpp
Log Message:
Fingolfin's suggested fix for the DOTT cursor regression. (The initial
cross-hair cursor was set while _roomWidth was 0, so the cursor image was
cropped down to nothing.)
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.338
retrieving revision 2.339
diff -u -d -r2.338 -r2.339
--- gfx.cpp 26 Sep 2004 12:49:43 -0000 2.338
+++ gfx.cpp 26 Sep 2004 14:56:51 -0000 2.339
@@ -1214,7 +1214,7 @@
sx = 0;
}
- while (numstrip && sx < _numStrips && x * 8 < _vm->_roomWidth) {
+ while (numstrip && sx < _numStrips && x * 8 < MAX(_vm->_roomWidth, (int) vs->w)) {
CHECK_HEAP;
if (y < vs->tdirty[sx])
More information about the Scummvm-git-logs
mailing list