diff options
author | Max Horn | 2002-12-31 15:26:02 +0000 |
---|---|---|
committer | Max Horn | 2002-12-31 15:26:02 +0000 |
commit | 250304c7ee11293283b64a31cca92caf282878ad (patch) | |
tree | 5350d340636c0ac71d987fb7262b2b673e10a6f7 /scumm | |
parent | 7f15b5d08bb233ffbc4c3c47cbd0f6b92f16821d (diff) | |
download | scummvm-rg350-250304c7ee11293283b64a31cca92caf282878ad.tar.gz scummvm-rg350-250304c7ee11293283b64a31cca92caf282878ad.tar.bz2 scummvm-rg350-250304c7ee11293283b64a31cca92caf282878ad.zip |
fix opcode that sets actor z cliping. Yeah I know that Guybrush now is drawn wrong - but this change is not the cause for it, it only reveals the problem (which is already causing the canon to be drawn wrong)
svn-id: r6293
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v8.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index f56a642101..e04cf8c06f 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -1052,6 +1052,9 @@ void Scumm_v8::o8_actorOps() break; case 0x75: // SO_ACTOR_ALWAYS_ZCLIP ? a->forceClip = pop(); + // V8 uses 255 where we used to use 100 + if (a->forceClip == 255) + a->forceClip = 100; break; case 0x76: // SO_ACTOR_IGNORE_BOXES Make actor ignore boxes a->ignoreBoxes = true; |