aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/scene_lol.cpp
diff options
context:
space:
mode:
authorathrxx2012-02-15 18:11:18 +0100
committerathrxx2012-02-21 21:48:42 +0100
commita4223e9c2ba7d53097df95a3f640ffdba7d0fb20 (patch)
tree64c69966b4be6bdd7d798c102331babe76464164 /engines/kyra/scene_lol.cpp
parent151d314912b08d7d598a3995524d89c8b4ab0371 (diff)
downloadscummvm-rg350-a4223e9c2ba7d53097df95a3f640ffdba7d0fb20.tar.gz
scummvm-rg350-a4223e9c2ba7d53097df95a3f640ffdba7d0fb20.tar.bz2
scummvm-rg350-a4223e9c2ba7d53097df95a3f640ffdba7d0fb20.zip
KYRA: (EOB) - fix EOB1 door clipping
(this was done in the same way as in EOB2 and LOL, but it has to be slightly different)
Diffstat (limited to 'engines/kyra/scene_lol.cpp')
-rw-r--r--engines/kyra/scene_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/scene_lol.cpp b/engines/kyra/scene_lol.cpp
index 79884718d7..628654f127 100644
--- a/engines/kyra/scene_lol.cpp
+++ b/engines/kyra/scene_lol.cpp
@@ -1436,7 +1436,7 @@ void LoLEngine::drawSceneShapes(int) {
if (v > 80)
v = 80;
- scaleLevelShapesDim(t, dimY1, dimY2, _sceneShpDim);
+ setDoorShapeDim(t, dimY1, dimY2, _sceneShpDim);
drawDoor(_doorShapes[(s < 23 ? _dscDoorShpIndex[s] : 0)], 0, t, 10, 0, -v, 2);
setLevelShapesDim(t, dimY1, dimY2, _sceneShpDim);
}