Made o8_getActorZPlane return the same z value as Actor::drawActorCostume computes - this *might* cause regressions, or might fix bugs, or might have no visible effect at all :-). Somebody feel free to verify this against assembly

svn-id: r12166
This commit is contained in:
Max Horn 2004-01-06 09:49:08 +00:00
parent d62d44d29c
commit 55eb22fd3a

View File

@ -1523,8 +1523,8 @@ void ScummEngine_v8::o8_getActorZPlane() {
int z = a->forceClip;
if (z == 100) {
z = getMaskFromBox(a->walkbox);
if (z > gdi._numZBuffer)
z = gdi._numZBuffer;
if (z > gdi._numZBuffer - 1)
z = gdi._numZBuffer - 1;
}
push(z);