aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-20 01:47:02 +0530
committerEugene Sandulenko2019-09-03 17:16:51 +0200
commitba78805c923ca8c88013bbb9f8fda5af967b5705 (patch)
tree157395c586bcdd7828ef74cc8fe42de7f5bf7ee8 /engines/hdb
parent1c268c03bb5ece0e45afc3af1020842eb3b228c7 (diff)
downloadscummvm-rg350-ba78805c923ca8c88013bbb9f8fda5af967b5705.tar.gz
scummvm-rg350-ba78805c923ca8c88013bbb9f8fda5af967b5705.tar.bz2
scummvm-rg350-ba78805c923ca8c88013bbb9f8fda5af967b5705.zip
HDB: Call initAllEnts() after map is loaded
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/map-loader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/map-loader.cpp b/engines/hdb/map-loader.cpp
index 459cb64f59..ed88d16d87 100644
--- a/engines/hdb/map-loader.cpp
+++ b/engines/hdb/map-loader.cpp
@@ -131,6 +131,8 @@ bool Map::load(Common::SeekableReadStream *stream) {
TODO: Add the animating tile lists
*/
+ g_hdb->_ai->initAllEnts();
+
_mapLoaded = true;
return true;