From 39fafdc3033e4d1e5b8a8505cfcfbfe3affc7b8f Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 29 May 2007 21:50:32 +0000 Subject: Fix for bug #774783 - INDY3: problems in Berlin with Hitler (submitted after talking with Fingolfin) svn-id: r27009 --- engines/scumm/actor.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines') diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp index aeb190077e..b658931356 100644 --- a/engines/scumm/actor.cpp +++ b/engines/scumm/actor.cpp @@ -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; -- cgit v1.2.3