diff options
author | Nipun Garg | 2019-06-18 19:47:14 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:48 +0200 |
commit | 64760a08bbea51e3c1d0b62e918e4abb5433118f (patch) | |
tree | dda31b9c6bb09627993c2b52e5c6ed148e786b03 /engines | |
parent | 55d87676f21e36aed0e37b5f59c38a5797ec1462 (diff) | |
download | scummvm-rg350-64760a08bbea51e3c1d0b62e918e4abb5433118f.tar.gz scummvm-rg350-64760a08bbea51e3c1d0b62e918e4abb5433118f.tar.bz2 scummvm-rg350-64760a08bbea51e3c1d0b62e918e4abb5433118f.zip |
HDB: Load _map outside of the game loop
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/hdb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index b157445441..9d15585e59 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -168,6 +168,8 @@ Common::Error HDBGame::run() { return Common::kReadingFailed; } + _map->load(mapStream); + #if 0 lua->executeFile("test.lua"); #endif @@ -188,7 +190,6 @@ Common::Error HDBGame::run() { } } - _map->load(mapStream); _drawMan->drawSky(); _map->draw(); _ai->processCines(); |