From 016b251799c3d181fa8e0b3d23a1f2e42967e59f Mon Sep 17 00:00:00 2001 From: athrxx Date: Fri, 2 Nov 2018 02:02:11 +0100 Subject: KYRA: - fix EOB II graphics glitch Catacombs level 3 doors were not drawn completely. --- engines/kyra/darkmoon.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engines/kyra/darkmoon.cpp b/engines/kyra/darkmoon.cpp index 71ae98e4db..e15a290f86 100644 --- a/engines/kyra/darkmoon.cpp +++ b/engines/kyra/darkmoon.cpp @@ -339,6 +339,12 @@ void DarkMoonEngine::drawDoorIntern(int type, int, int x, int y, int w, int wall drawBlockObject(0, 2, shp, x, y, 5); + if (_doorType[type] == 2) { + shp = _doorShapes[shapeIndex + 3]; + y = _dscDoorFrameY2[mDim] - shp[1] + (((wall - _dscDoorScaleOffs[wall]) * _dscDoorScaleMult3[mDim]) >> 1) - 1; + drawBlockObject(0, 2, shp, x, y, 5); + } + if (_wllShapeMap[wall] == -1 && !_noDoorSwitch[type]) drawBlockObject(0, 2, _doorSwitches[shapeIndex].shp, _doorSwitches[shapeIndex].x + w, _doorSwitches[shapeIndex].y, 5); } -- cgit v1.2.3