[Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.201.2.1,1.201.2.2
Andrew Kurushin
h00ligan at users.sourceforge.net
Fri Oct 21 07:33:31 CEST 2005
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28930
Modified Files:
Tag: branch-0-8-0
actor.cpp
Log Message:
add workaround for bug #1328045
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/actor.cpp,v
retrieving revision 1.201.2.1
retrieving revision 1.201.2.2
diff -u -d -r1.201.2.1 -r1.201.2.2
--- actor.cpp 18 Oct 2005 02:11:19 -0000 1.201.2.1
+++ actor.cpp 21 Oct 2005 14:32:00 -0000 1.201.2.2
@@ -809,6 +809,18 @@
_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;
}
More information about the Scummvm-git-logs
mailing list