aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kurushin2005-10-21 14:30:11 +0000
committerAndrew Kurushin2005-10-21 14:30:11 +0000
commit37660b0b0a619de100ed4509ad869277cf8e49f8 (patch)
tree91018392540c8fe4cca29dab6a7abbedb2fc0857
parent0167c3ad0cd8df1118e52a5693591cc9cd08aa68 (diff)
downloadscummvm-rg350-37660b0b0a619de100ed4509ad869277cf8e49f8.tar.gz
scummvm-rg350-37660b0b0a619de100ed4509ad869277cf8e49f8.tar.bz2
scummvm-rg350-37660b0b0a619de100ed4509ad869277cf8e49f8.zip
add workaround for bug #1328045
svn-id: r19216
-rw-r--r--saga/actor.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp
index 82fa9f6d8c..d30da19dda 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -809,6 +809,18 @@ void Actor::updateActorsScene(int actorsEntrance) {
_protagonist->_location.y = sceneEntry->location.y * ACTOR_LMULT;
_protagonist->_location.z = sceneEntry->location.z * ACTOR_LMULT;
}
+ // Workaround for bug #1328045:
+ // "When entering any of the houses at the start of the
+ // game if you click on anything inside the building you
+ // start walking through the door, turn around and leave."
+ //
+ // After steping of action zone - Rif trying to exit.
+ // This piece of code shift Rif's entry position to non action zone area.
+ if (_vm->getGameType() == GType_ITE) {
+ if ((_vm->_scene->currentSceneNumber() >= 53) && (_vm->_scene->currentSceneNumber() <= 66))
+ _protagonist->_location.y += 10;
+ }
+
_protagonist->_facingDirection = _protagonist->_actionDirection = sceneEntry->facing;
}