aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorathrxx2020-01-02 00:04:34 +0100
committerathrxx2020-01-02 00:18:04 +0100
commit1bd92d05511254af685ff0cb0ccdee41310e8fcb (patch)
treedb6e3bec25349f37dc422d106de255b05811706c /engines/kyra
parent951f592c18b3f82d600971b391f331fec55a99e9 (diff)
downloadscummvm-rg350-1bd92d05511254af685ff0cb0ccdee41310e8fcb.tar.gz
scummvm-rg350-1bd92d05511254af685ff0cb0ccdee41310e8fcb.tar.bz2
scummvm-rg350-1bd92d05511254af685ff0cb0ccdee41310e8fcb.zip
KYRA: (EOB) - fix minor graphics glitch
(y-coords for certain doors off by a few pixels)
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/engine/eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/engine/eob.cpp b/engines/kyra/engine/eob.cpp
index cdd49a75fd..af0ca4ceda 100644
--- a/engines/kyra/engine/eob.cpp
+++ b/engines/kyra/engine/eob.cpp
@@ -438,7 +438,7 @@ void EoBEngine::drawDoorIntern(int type, int index, int x, int y, int w, int wal
case 4:
case 5:
case 6:
- y = _dscDoorY6[mDim] - shp[1];
+ y = _dscDoorY7[mDim] - shp[1];
d1 = _dscDoorCoordsExt[index << 1] >> 3;
d2 = _dscDoorCoordsExt[(index << 1) + 1] >> 3;
if (_shpDmX1 > d1)