aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/lua-script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 7c9664f796..da1f91ea85 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -1415,7 +1415,7 @@ bool LuaScript::initScript(Common::SeekableReadStream *stream, const char *scrip
}
// set the last mapname as a global
- lua_pushstring(_state, g_hdb->lastMapname());
+ lua_pushstring(_state, g_hdb->lastMapName());
lua_setglobal(_state, "LASTMAP");
// Set the lowest printable line