From f6a3eac4972bd64c4e2c81c801a4924d892aeddd Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Sat, 6 Jul 2019 02:03:43 +0530 Subject: HDB: Add cineStartMap() Lua function --- engines/hdb/lua-script.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 49915d66cb..0c713ec036 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -173,7 +173,14 @@ static int cineFadeOutWhite(lua_State *L) { } static int cineStartMap(lua_State *L) { - warning("STUB: CINE START MAP"); + const char *mapName = lua_tostring(L, 1); + + g_hdb->_lua->checkParameters("cineStartMap", 1); + + lua_pop(L, 1); + + g_hdb->_ai->cineStartMap(mapName); + return 0; } -- cgit v1.2.3