From 9a93286f4205619395d9f61c108492a8c74caaca Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 21 May 2007 13:45:38 +0000 Subject: Fix bug #1722330 - FREDDI: Minor graphics glitch on Mac OS X. svn-id: r26903 --- engines/scumm/actor.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/scumm') 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; -- cgit v1.2.3