diff options
author | Max Horn | 2004-01-06 09:49:08 +0000 |
---|---|---|
committer | Max Horn | 2004-01-06 09:49:08 +0000 |
commit | 55eb22fd3a4f596d35962c95775acc14973e7d85 (patch) | |
tree | 6612070763e717db9f63a0e84c418a55f7e28e42 /scumm | |
parent | d62d44d29cd4a437c0caf061239a7da542c33918 (diff) | |
download | scummvm-rg350-55eb22fd3a4f596d35962c95775acc14973e7d85.tar.gz scummvm-rg350-55eb22fd3a4f596d35962c95775acc14973e7d85.tar.bz2 scummvm-rg350-55eb22fd3a4f596d35962c95775acc14973e7d85.zip |
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
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index eb8ac316d6..ece59d2430 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -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); |