Fix for bug #774783 - INDY3: problems in Berlin with Hitler (submitted after talking with Fingolfin)

svn-id: r27009
This commit is contained in:
Filippos Karapetis
2007-05-29 21:50:32 +00:00
parent ed02fb1443
commit 39fafdc303
+5
View File
@@ -796,6 +796,11 @@ void Actor::setDirection(int direction) {
int i;
uint16 vald;
// HACK to fix bug #774783
// If Hitler's direction is being set to anything other than 90, set it to 90
if ((_vm->_game.id == GID_INDY3) && _vm->_roomResource == 46 && _number == 9 && direction != 90)
direction = 90;
// Do nothing if actor is already facing in the given direction
if (_facing == direction)
return;