aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/lua-script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/lua-script.cpp')
-rw-r--r--engines/hdb/lua-script.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 9a67f4bf69..b2eeb4d83b 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -82,7 +82,15 @@ static int cineStart(lua_State *L) {
}
static int cineStop(lua_State *L) {
- warning("STUB: STOP CINE");
+ const char *funcNext = NULL;
+
+ int stackTop = lua_gettop(L);
+ if (stackTop) {
+ funcNext = lua_tostring(L, 1);
+ lua_pop(L, 1);
+ }
+
+ g_hdb->_ai->cineStop(funcNext);
return 0;
}