[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.85,1.86
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sun Mar 30 03:05:06 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv12618
Modified Files:
script_v6.cpp
Log Message:
corrected opcode 0xE1 in the dig (bug in the IDB)
Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- script_v6.cpp 28 Mar 2003 23:08:33 -0000 1.85
+++ script_v6.cpp 30 Mar 2003 11:04:11 -0000 1.86
@@ -2923,7 +2923,7 @@
}
void Scumm_v6::o6_unknownE1() {
- // this opcode check ground area in minigame in the dig
+ // this opcode check ground area in minigame "Asteroid Lander" in the dig
int x = pop();
int y = pop();
@@ -2949,9 +2949,7 @@
}
// FIXME: something is wrong, it take wrong position or wrong buffer check
- // Fingolfin says: the vs->tdirty[0] makes no sense to me at all, what is this
- // supposed to do ?!?
- int offset = (y - vs->topline) * _realWidth + x + vs->tdirty[0];
+ int offset = (y - vs->topline) * _realWidth + x + _screenLeft;
byte area = *(getResourceAddress(rtBuffer, vs->number + 1) + offset);
push(area);
More information about the Scummvm-git-logs
mailing list