diff options
author | Nipun Garg | 2019-06-18 04:16:56 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:47 +0200 |
commit | 908b9414ecf594d8429a3dc8e832f236ed62671d (patch) | |
tree | fa67db17daae9e9afc1ac66da31cd47ad7961691 /engines | |
parent | 2c55d072d36c7c7951cc772ae968ab255cfd05f1 (diff) | |
download | scummvm-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.cpp | 2 |
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."); |