aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/map.cpp4
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() {