diff options
author | Paul Gilbert | 2015-01-18 20:11:31 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-18 20:11:31 -0500 |
commit | e4c473630655bd9b68d925b338559706ea927497 (patch) | |
tree | d26291011ec9bdb5f8799f5192d4027b742bf57c /engines/xeen/map.cpp | |
parent | ecdf6412a6d74853ff20cbb7ea5abbdeaa789b63 (diff) | |
download | scummvm-rg350-e4c473630655bd9b68d925b338559706ea927497.tar.gz scummvm-rg350-e4c473630655bd9b68d925b338559706ea927497.tar.bz2 scummvm-rg350-e4c473630655bd9b68d925b338559706ea927497.zip |
XEEN: Renaming of flags and surface display
Diffstat (limited to 'engines/xeen/map.cpp')
-rw-r--r-- | engines/xeen/map.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp index 0623772953..d39b8f5199 100644 --- a/engines/xeen/map.cpp +++ b/engines/xeen/map.cpp @@ -877,7 +877,6 @@ void Map::load(int mapId) { Screen &screen = *_vm->_screen; IndoorDrawList &indoorList = _vm->_interface->_indoorList; OutdoorDrawList &outdoorList = _vm->_interface->_outdoorList; - int sideNumber = 0; if (_vm->_falling) { Window &w = screen._windows[9]; @@ -1097,7 +1096,7 @@ void Map::load(int mapId) { _surfaceSprites[i].clear(); if (i != 0 && _mazeData[0]._wallTypes[i] != 0) - _surfaceSprites[i].load(OUTDOOR_SURFACES[_mazeData[0]._surfaceTypes[i]]); + _surfaceSprites[i].load(SURFACE_NAMES[_mazeData[0]._surfaceTypes[i]]); } } else { warning("TODO"); // Sound loading @@ -1114,7 +1113,7 @@ void Map::load(int mapId) { _surfaceSprites[i].clear(); if (_mazeData[0]._surfaceTypes[i] != 0 || i == 4) - _surfaceSprites[i].load(OUTDOOR_SURFACES[i]); + _surfaceSprites[i].load(SURFACE_NAMES[i]); } for (int i = 0; i < TOTAL_SURFACES; ++i) |