aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-14 03:44:47 +0000
committerFilippos Karapetis2007-07-14 03:44:47 +0000
commit9efa640f9c8f32b5c1a0b6b40621c55ef4b2b730 (patch)
treecca3eced1e0a5dc252e666505398e5965849b44e /engines
parent5a851033744189a53886a8db0992b54d5fd1ef3c (diff)
downloadscummvm-rg350-9efa640f9c8f32b5c1a0b6b40621c55ef4b2b730.tar.gz
scummvm-rg350-9efa640f9c8f32b5c1a0b6b40621c55ef4b2b730.tar.bz2
scummvm-rg350-9efa640f9c8f32b5c1a0b6b40621c55ef4b2b730.zip
Fix graphics glitch in the rat caves in ITE. Closes bug #1735437 - "ITE: Sprite priority in rat caves"
svn-id: r28064
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/actor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp
index d7882a78fd..2df186f093 100644
--- a/engines/saga/actor.cpp
+++ b/engines/saga/actor.cpp
@@ -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);
}
}