mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
Fix graphics glitch in the rat caves in ITE. Closes bug #1735437 - "ITE: Sprite priority in rat caves"
svn-id: r28064
This commit is contained in:
parent
5a85103374
commit
9efa640f9c
@ -1605,7 +1605,9 @@ void Actor::handleActions(int msec, bool setup) {
|
||||
if (actor->_lastZone)
|
||||
stepZoneAction(actor, actor->_lastZone, true, false);
|
||||
actor->_lastZone = hitZone;
|
||||
if (hitZone)
|
||||
// WORKAROUND for graphics glitch in the rat caves. Don't do this step zone action in the rat caves
|
||||
// (room 51) to avoid the glitch
|
||||
if (hitZone && !(_vm->getGameType() == GType_ITE && _vm->_scene->currentSceneNumber() == 51))
|
||||
stepZoneAction(actor, hitZone, false, false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user