aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-07-26 18:07:40 +0000
committerMax Horn2002-07-26 18:07:40 +0000
commita493ffe81378fcede2cf8bbdcaf845eb2a76da53 (patch)
tree2667f1e117eb59ac5fba345d84c18c0d74d175e5
parent02f90ba3f92b5be39d7e4191e7ab7e510ce07d89 (diff)
downloadscummvm-rg350-a493ffe81378fcede2cf8bbdcaf845eb2a76da53.tar.gz
scummvm-rg350-a493ffe81378fcede2cf8bbdcaf845eb2a76da53.tar.bz2
scummvm-rg350-a493ffe81378fcede2cf8bbdcaf845eb2a76da53.zip
fixed the zbuffering once more
svn-id: r4643
-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)