aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/interface_map.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-18 20:54:58 -0500
committerPaul Gilbert2015-01-18 20:54:58 -0500
commit130bd58e2c8ffdac6de86364d45d772ffe6a8d1b (patch)
tree8f19f069fb679f10da93302ea13bcb5ed7ecb304 /engines/xeen/interface_map.cpp
parente4c473630655bd9b68d925b338559706ea927497 (diff)
downloadscummvm-rg350-130bd58e2c8ffdac6de86364d45d772ffe6a8d1b.tar.gz
scummvm-rg350-130bd58e2c8ffdac6de86364d45d772ffe6a8d1b.tar.bz2
scummvm-rg350-130bd58e2c8ffdac6de86364d45d772ffe6a8d1b.zip
XEEN: Load correct surface sprites for the maze
Diffstat (limited to 'engines/xeen/interface_map.cpp')
-rw-r--r--engines/xeen/interface_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/interface_map.cpp b/engines/xeen/interface_map.cpp
index ddc311bae0..93c3d9a679 100644
--- a/engines/xeen/interface_map.cpp
+++ b/engines/xeen/interface_map.cpp
@@ -1118,8 +1118,8 @@ void InterfaceMap::drawIndoors() {
surfaceId = map.mazeData()._surfaceTypes[map._currentSurfaceId];
if (surfaceId == SURFTYPE_WATER || surfaceId == SURFTYPE_LAVA ||
surfaceId == SURFTYPE_SEWER) {
- drawStruct._flags = _flipWater ? 1 : 0;
drawStruct._frame = DRAW_FRAMES[cellIndex][_flipWater ? 1 : 0];
+ drawStruct._flags = _flipWater ? SPRFLAG_HORIZ_FLIPPED : 0;
} else {
drawStruct._frame = DRAW_FRAMES[cellIndex][_flipGround ? 1 : 0];
drawStruct._flags = _flipGround ? SPRFLAG_HORIZ_FLIPPED : 0;