diff options
| author | Max Horn | 2002-08-15 22:54:32 +0000 |
|---|---|---|
| committer | Max Horn | 2002-08-15 22:54:32 +0000 |
| commit | 1a29d159f433689e3f303957d0329b3b5765c1a4 (patch) | |
| tree | 6aa18fcbdd245034d374f32913228deb13df0afa | |
| parent | dca89e3d88d4d3596929a7857153edfb03bc3002 (diff) | |
| download | scummvm-rg350-1a29d159f433689e3f303957d0329b3b5765c1a4.tar.gz scummvm-rg350-1a29d159f433689e3f303957d0329b3b5765c1a4.tar.bz2 scummvm-rg350-1a29d159f433689e3f303957d0329b3b5765c1a4.zip | |
A (partial) fix for #549402
svn-id: r4752
| -rw-r--r-- | actor.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -198,13 +198,16 @@ int Actor::remapDirection(int dir) flipX = (walkdata.XYFactor > 0); flipY = (walkdata.YXFactor > 0); + // FIXME - this special cases for the class might be necesary for other + // games besides Loom CD! + // Check for X-Flip - if ((flags & kBoxXFlip) || isInClass(30)) { + if ((flags & kBoxXFlip) || isInClass(_vm->_gameId == GID_LOOM256 ? 19 : 30)) { dir = 360 - dir; flipX = !flipX; } // Check for Y-Flip - if ((flags & kBoxYFlip) || isInClass(29)) { + if ((flags & kBoxYFlip) || isInClass(_vm->_gameId == GID_LOOM256 ? 18 : 29)) { dir = 180 - dir; flipY = !flipY; } |
