diff options
author | Travis Howell | 2007-05-21 13:45:38 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-21 13:45:38 +0000 |
commit | 9a93286f4205619395d9f61c108492a8c74caaca (patch) | |
tree | 632934fffe914cb1deb399fec83d3fd04c191428 /engines/scumm | |
parent | d8e0a508332657b42d042eed5dccb2349f45c32a (diff) | |
download | scummvm-rg350-9a93286f4205619395d9f61c108492a8c74caaca.tar.gz scummvm-rg350-9a93286f4205619395d9f61c108492a8c74caaca.tar.bz2 scummvm-rg350-9a93286f4205619395d9f61c108492a8c74caaca.zip |
Fix bug #1722330 - FREDDI: Minor graphics glitch on Mac OS X.
svn-id: r26903
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/actor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp index 2033532d84..c3384ff2ce 100644 --- a/engines/scumm/actor.cpp +++ b/engines/scumm/actor.cpp @@ -2291,9 +2291,12 @@ void ScummEngine_v71he::postProcessAuxQueue() { if (ae->actorNum != -1) { Actor *a = derefActor(ae->actorNum, "postProcessAuxQueue"); const uint8 *cost = getResourceAddress(rtCostume, a->_costume); - int dy = a->_offsY + a->getPos().y - a->getElevation(); + int dy = a->_offsY + a->getPos().y; int dx = a->_offsX + a->getPos().x; + if (_game.heversion >= 72) + dy -= a->getElevation(); + const uint8 *akax = findResource(MKID_BE('AKAX'), cost); assert(akax); const uint8 *auxd = findPalInPals(akax, ae->subIndex) - _resourceHeaderSize; |