diff options
author | Eugene Sandulenko | 2019-07-10 22:22:04 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:16 +0200 |
commit | 6c0684cbbaa028cbeaf58cef68d2fcecdd900041 (patch) | |
tree | 72d86420f2a9a670bb0ba61d2274ce2bfbc5f681 | |
parent | 538ab04493f91b120b7be300af2925d044683b80 (diff) | |
download | scummvm-rg350-6c0684cbbaa028cbeaf58cef68d2fcecdd900041.tar.gz scummvm-rg350-6c0684cbbaa028cbeaf58cef68d2fcecdd900041.tar.bz2 scummvm-rg350-6c0684cbbaa028cbeaf58cef68d2fcecdd900041.zip |
HDB: Added missing calls to Map::Map::loadSaveFile()
-rw-r--r-- | engines/hdb/map.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp index b28533096c..fb84bc0979 100644 --- a/engines/hdb/map.cpp +++ b/engines/hdb/map.cpp @@ -186,6 +186,10 @@ void Map::loadSaveFile(Common::InSaveFile *in) { _mapLaserBeams = new byte[_width * _height]; for (i = 0; i < _width * _height; i++) _mapLaserBeams[i] = in->readByte(); + + // load all the map's tiles (cache) + loadTiles(); + _mapLoaded = true; } int Map::loadTiles() { |