aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actor.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/actor.cpp b/actor.cpp
index 8019f2393b..eed6e0fd9c 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -576,9 +576,6 @@ AdjustBoxResult Actor::adjustXYToBeInBox(int dstX, int dstY, int pathfrom)
abr.y = dstY;
abr.dist = 0;
- if ((_vm->_features & GF_SMALL_HEADER) && isInClass(22))
- return abr;
-
if (ignoreBoxes == 0) {
threshold = 30;
@@ -871,7 +868,7 @@ void Actor::drawActorCostume()
cr._zbuf = _vm->getMaskFromBox(walkbox);
if (forceClip)
- cr._zbuf = 1;
+ cr._zbuf = forceClip;
else if (isInClass(20))
cr._zbuf = 0;
else if (cr._zbuf > _vm->gdi._numZBuffer)