aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorMax Horn2002-08-23 22:46:09 +0000
committerMax Horn2002-08-23 22:46:09 +0000
commita1d1341331c527098bf446fd86dc4672d083267a (patch)
tree5becbfd355f5c33dd5620b7a4c740098df0c955b /scumm/actor.cpp
parent444ac856fb5d7675affe8a4c4fba419f0bb9444a (diff)
downloadscummvm-rg350-a1d1341331c527098bf446fd86dc4672d083267a.tar.gz
scummvm-rg350-a1d1341331c527098bf446fd86dc4672d083267a.tar.bz2
scummvm-rg350-a1d1341331c527098bf446fd86dc4672d083267a.zip
fix for some Loom oddities, might break other stuff -> in that case please tell me so that I can find a correct solution
svn-id: r4810
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 697a1cdadf..1e663805af 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -183,7 +183,12 @@ int Actor::remapDirection(int dir, bool is_walking)
bool flipX;
bool flipY;
- if (!ignoreBoxes) {
+ // FIXME - why was this here? It breaks some animations in LoomCD, and logical,
+ // why should we not honor box flags when ignoreBoxes is on? If this change
+ // breaks anything, or if you know why the if() was in originally, please
+ // tell this to Fingolfin.
+ //if (!ignoreBoxes) {
+ if (1) {
specdir = _vm->_extraBoxFlags[walkbox];
if (specdir) {
if (specdir & 0x8000) {