diff options
author | Paul Gilbert | 2015-01-20 22:13:26 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-20 22:13:26 -0500 |
commit | 69ca508e8fd16e79bfa5a0f66ced3ccf9fb2dbf8 (patch) | |
tree | 8ee6468eba21ee0c1abb19c484214d5354d28be4 /engines/xeen | |
parent | adce5f9c2030813936268c0b7e58a33b6cfce003 (diff) | |
download | scummvm-rg350-69ca508e8fd16e79bfa5a0f66ced3ccf9fb2dbf8.tar.gz scummvm-rg350-69ca508e8fd16e79bfa5a0f66ced3ccf9fb2dbf8.tar.bz2 scummvm-rg350-69ca508e8fd16e79bfa5a0f66ced3ccf9fb2dbf8.zip |
XEEN: Fix settig stepped on tiles
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/interface_map.cpp | 6 | ||||
-rw-r--r-- | engines/xeen/map.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/xeen/interface_map.cpp b/engines/xeen/interface_map.cpp index 2c1b973fd6..4ff64b38eb 100644 --- a/engines/xeen/interface_map.cpp +++ b/engines/xeen/interface_map.cpp @@ -1758,9 +1758,9 @@ void InterfaceMap::setMazeBits() { break; } - switch (_vm->_map->getCell(34) - 1) { + switch (_vm->_map->getCell(39) - 1) { case 1: - ++_wo[77]; + ++_wo[80]; break; case 0: case 2: @@ -1776,7 +1776,7 @@ void InterfaceMap::setMazeBits() { case 12: case 13: case 14: - ++_wo[33]; + ++_wo[36]; break; default: break; diff --git a/engines/xeen/map.h b/engines/xeen/map.h index d8444eb0ff..8735973738 100644 --- a/engines/xeen/map.h +++ b/engines/xeen/map.h @@ -384,9 +384,9 @@ public: int getCell(int idx); - MazeData mazeData() { return _mazeData[0]; } + MazeData &mazeData() { return _mazeData[0]; } - MazeData mazeDataCurrent() { return _mazeData[_mazeDataIndex]; } + MazeData &mazeDataCurrent() { return _mazeData[_mazeDataIndex]; } void loadSky(); |