diff options
author | Max Horn | 2004-09-03 15:39:14 +0000 |
---|---|---|
committer | Max Horn | 2004-09-03 15:39:14 +0000 |
commit | 08fc27b764dcf93f5d052912d9ab5a241e2b7602 (patch) | |
tree | e72ef2f02227a864a32d73fd3a2d764ebaea7d8e /scumm | |
parent | d269e911225483606b4172cc85629d1cbc042a86 (diff) | |
download | scummvm-rg350-08fc27b764dcf93f5d052912d9ab5a241e2b7602.tar.gz scummvm-rg350-08fc27b764dcf93f5d052912d9ab5a241e2b7602.tar.bz2 scummvm-rg350-08fc27b764dcf93f5d052912d9ab5a241e2b7602.zip |
Small correction for V7-8 actor drawing
svn-id: r14874
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/actor.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 941f75691d..5dcaa334df 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1042,8 +1042,6 @@ void Actor::drawActorCostume() { bcr->_zbuf = _vm->gdi._numZBuffer-1; } - bcr->_draw_top = top = 0x7fffffff; - } else { if (forceClip) bcr->_zbuf = forceClip; @@ -1055,9 +1053,10 @@ void Actor::drawActorCostume() { bcr->_zbuf = _vm->gdi._numZBuffer-1; } - bcr->_draw_top = top = 0xFF; } + bcr->_draw_top = top = 0x7fffffff; + bcr->_draw_bottom = bottom = 0; bcr->_skipLimb = (skipLimb != 0); @@ -1161,7 +1160,7 @@ void ScummEngine::resetActorBgs() { clearGfxUsageBit(strip, USAGE_BIT_RESTORED); for (j = 1; j < _numActors; j++) { if (testGfxUsageBit(strip, j) && - ((_actors[j].top != 0xFF && _actors[j].needRedraw) || _actors[j].needBgReset)) { + ((_actors[j].top != 0x7fffffff && _actors[j].needRedraw) || _actors[j].needBgReset)) { clearGfxUsageBit(strip, j); if ((_actors[j].bottom - _actors[j].top) >= 0) gdi.resetBackground(_actors[j].top, _actors[j].bottom, i); |