mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
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:
parent
d62d44d29c
commit
55eb22fd3a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user