diff options
author | Paweł Kołodziejski | 2003-03-30 11:04:11 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-30 11:04:11 +0000 |
commit | 2d55c999975dd8c14e882b205c75eebfb09f3711 (patch) | |
tree | 9d176c4089f603f27db52ffe860bfd3214749081 /scumm | |
parent | df82b6881b2316ce17013b1e5d1becef0877942e (diff) | |
download | scummvm-rg350-2d55c999975dd8c14e882b205c75eebfb09f3711.tar.gz scummvm-rg350-2d55c999975dd8c14e882b205c75eebfb09f3711.tar.bz2 scummvm-rg350-2d55c999975dd8c14e882b205c75eebfb09f3711.zip |
corrected opcode 0xE1 in the dig (bug in the IDB)
svn-id: r6885
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 378ba4e96e..b03fb8d62d 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2923,7 +2923,7 @@ void Scumm_v6::o6_getDateTime() { } 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 @@ void Scumm_v6::o6_unknownE1() { } // 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); |