aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/actor.cpp')
-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);
}
}