aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorFilippos Karapetis2007-05-29 21:50:32 +0000
committerFilippos Karapetis2007-05-29 21:50:32 +0000
commit39fafdc3033e4d1e5b8a8505cfcfbfe3affc7b8f (patch)
tree8d023fcfe37a127c7c40a50629b27a5242cc51ee /engines/scumm
parented02fb1443c39d04de56ace9f7eb9bfce6b3e24c (diff)
downloadscummvm-rg350-39fafdc3033e4d1e5b8a8505cfcfbfe3affc7b8f.tar.gz
scummvm-rg350-39fafdc3033e4d1e5b8a8505cfcfbfe3affc7b8f.tar.bz2
scummvm-rg350-39fafdc3033e4d1e5b8a8505cfcfbfe3affc7b8f.zip
Fix for bug #774783 - INDY3: problems in Berlin with Hitler (submitted after talking with Fingolfin)
svn-id: r27009
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/actor.cpp5
1 files changed, 5 insertions, 0 deletions
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;