aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-06 03:00:35 +0530
committerEugene Sandulenko2019-09-03 17:16:43 +0200
commitccce71fabb5860f12a69c7cc5d11edb853fdbd4d (patch)
tree9ae2d025cceea67785dcb4b2f800e013fe77c717
parent24d42ce43acd53eca942059d10d3bcf903be995f (diff)
downloadscummvm-rg350-ccce71fabb5860f12a69c7cc5d11edb853fdbd4d.tar.gz
scummvm-rg350-ccce71fabb5860f12a69c7cc5d11edb853fdbd4d.tar.bz2
scummvm-rg350-ccce71fabb5860f12a69c7cc5d11edb853fdbd4d.zip
HDB: Load MAP00_DEMO_LUA
-rw-r--r--engines/hdb/hdb.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 0f85aa1fbc..2bb6b38b84 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -134,15 +134,14 @@ Common::Error HDBGame::run() {
Tile *tile = new Tile;
Graphics::Surface surf2 = tile->load(tileStream);
- Common::SeekableReadStream *luaStream = fileMan->findFirstData("CINE_INTRO_DEMO_LUA", TYPE_BINARY);
- int32 luaLength = fileMan->getLength("CINE_INTRO_DEMO_LUA", TYPE_BINARY);
+ Common::SeekableReadStream *luaStream = fileMan->findFirstData("MAP00_DEMO_LUA", TYPE_BINARY);
+ int32 luaLength = fileMan->getLength("MAP00_DEMO_LUA", TYPE_BINARY);
if (luaStream == NULL) {
- debug("The CINE_INTRO_DEMO_LUA MPC entry can't be found.");
+ debug("The MAP00_DEMO_LUA MPC entry can't be found.");
return Common::kReadingFailed;
}
- lua->initScript(luaStream, "CINE_INTRO_DEMO_LUA", luaLength);
- //lua->executeMPC(luaStream, "CINE_INTRO_DEMO_LUA", luaLength);
+ lua->initScript(luaStream, luaLength);
while (!shouldQuit()) {