aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/lua-script.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 4731136205..02bf16ca50 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -932,7 +932,13 @@ static int freeSound(lua_State *L) {
}
static int startMap(lua_State *L) {
- warning("STUB: START MAP");
+ const char *string = lua_tostring(L, 1);
+
+ g_hdb->_lua->checkParameters("startMap", 1);
+
+ lua_pop(L, 1);
+ g_hdb->changeLevel((char *)string);
+
return 0;
}