diff options
author | Travis Howell | 2005-04-07 10:54:36 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-07 10:54:36 +0000 |
commit | 682df447a3986ff3ba0ac83b9cf4f79da0d8d64e (patch) | |
tree | eac54ceb4e39d706df33613b4bd8a7e100902ddc /scumm/script_v72he.cpp | |
parent | 6ced0d698a9298450c00e6141bb94049e2d7cdea (diff) | |
download | scummvm-rg350-682df447a3986ff3ba0ac83b9cf4f79da0d8d64e.tar.gz scummvm-rg350-682df447a3986ff3ba0ac83b9cf4f79da0d8d64e.tar.bz2 scummvm-rg350-682df447a3986ff3ba0ac83b9cf4f79da0d8d64e.zip |
The reverse actor layering only applies to pajama3
svn-id: r17432
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 4ad0803763..79ae29e9c1 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1074,8 +1074,11 @@ void ScummEngine_v72he::o72_actorOps() { debug(1,"o72_actorOps: case 24 (%d)", k); break; case 43: // HE 90+ - // Uses reverse order of layering, so we adjust - a->_layer = -pop(); + a->_layer = pop(); + if (_gameId == GID_PAJAMA3) { + // pajama3 uses reverse order of layering, so we adjust + a->_layer = -a->_layer; + } a->_needRedraw = true; break; case 64: |