aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-18 04:16:56 +0530
committerEugene Sandulenko2019-09-03 17:16:47 +0200
commit908b9414ecf594d8429a3dc8e832f236ed62671d (patch)
treefa67db17daae9e9afc1ac66da31cd47ad7961691 /engines
parent2c55d072d36c7c7951cc772ae968ab255cfd05f1 (diff)
downloadscummvm-rg350-908b9414ecf594d8429a3dc8e832f236ed62671d.tar.gz
scummvm-rg350-908b9414ecf594d8429a3dc8e832f236ed62671d.tar.bz2
scummvm-rg350-908b9414ecf594d8429a3dc8e832f236ed62671d.zip
HDB: Call level_loaded Lua function from hdb.cpp
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/hdb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 1b86838417..d7df7ef981 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -158,6 +158,8 @@ Common::Error HDBGame::run() {
_lua->initScript(luaStream, "MAP00_LUA", luaLength);
+ _lua->callFunction("level_loaded", 0);
+
Common::SeekableReadStream *mapStream = _fileMan->findFirstData("MAP00_MSM", TYPE_BINARY);
if (mapStream == NULL) {
debug("The MAP00_MSM MPC entry can't be found.");