aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-22 22:59:05 -0500
committerPaul Gilbert2015-02-22 22:59:05 -0500
commitddf71710016baaf9989c10b79e5e313464adbdf9 (patch)
treeb00ba047d18c52dc9bbdd317215f9516254f255d /engines/xeen
parent2d2fc3f9ed100fab85e736555048a62ac1e00dcd (diff)
downloadscummvm-rg350-ddf71710016baaf9989c10b79e5e313464adbdf9.tar.gz
scummvm-rg350-ddf71710016baaf9989c10b79e5e313464adbdf9.tar.bz2
scummvm-rg350-ddf71710016baaf9989c10b79e5e313464adbdf9.zip
XEEN: Fix placement of objects in setIndoorsObjects
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/interface_map.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/interface_map.cpp b/engines/xeen/interface_map.cpp
index 8032369cc6..249dc3a42b 100644
--- a/engines/xeen/interface_map.cpp
+++ b/engines/xeen/interface_map.cpp
@@ -2760,8 +2760,8 @@ void InterfaceMap::setIndoorsObjects() {
} else if (_wo[20] && _wo[17]) {
} else if (_wo[23] && _wo[17]) {
} else if (!_wo[12] && !_wo[8] && _indoorList._objects9._frame == -1) {
- _indoorList._objects9._x = INDOOR_OBJECT_X[listOffset][9];
- _indoorList._objects9._y = MAP_OBJECT_Y[listOffset][9];
+ _indoorList._objects9._x = INDOOR_OBJECT_X[listOffset][10];
+ _indoorList._objects9._y = MAP_OBJECT_Y[listOffset][10];
_indoorList._objects9._frame = mazeObject._frame;
_indoorList._objects9._sprites = mazeObject._sprites;
_indoorList._objects9._flags &= ~SPRFLAG_HORIZ_FLIPPED;
@@ -2779,8 +2779,8 @@ void InterfaceMap::setIndoorsObjects() {
} else if (_wo[14] && _wo[9]) {
} else if (_wo[19] && _wo[9]) {
} else if (_indoorList._objects10._frame == -1) {
- _indoorList._objects10._x = INDOOR_OBJECT_X[listOffset][10];
- _indoorList._objects10._y = MAP_OBJECT_Y[listOffset][10];
+ _indoorList._objects10._x = INDOOR_OBJECT_X[listOffset][9];
+ _indoorList._objects10._y = MAP_OBJECT_Y[listOffset][9];
_indoorList._objects10._frame = mazeObject._frame;
_indoorList._objects10._sprites = mazeObject._sprites;
_indoorList._objects10._flags &= ~SPRFLAG_HORIZ_FLIPPED;