diff options
author | Filippos Karapetis | 2007-05-29 21:50:32 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-05-29 21:50:32 +0000 |
commit | 39fafdc3033e4d1e5b8a8505cfcfbfe3affc7b8f (patch) | |
tree | 8d023fcfe37a127c7c40a50629b27a5242cc51ee | |
parent | ed02fb1443c39d04de56ace9f7eb9bfce6b3e24c (diff) | |
download | scummvm-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
-rw-r--r-- | engines/scumm/actor.cpp | 5 |
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; |