aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/lua-script.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 3bfc30d7c8..f6b80519a3 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -153,12 +153,17 @@ static int cineMoveCamera(lua_State *L) {
}
static int cineWait(lua_State *L) {
- warning("STUB: CINE WAIT");
+ double seconds = lua_tonumber(L, 1);
+
+ g_hdb->_lua->checkParameters("cineWait", 1);
+
+ lua_pop(L, 1);
+ g_hdb->_ai->cineWait((int) seconds);
return 0;
}
static int cineWaitUntilDone(lua_State *L) {
- warning("STUB: CINE WAIT UNTIL DONE");
+ g_hdb->_ai->cineWaitUntilDone();
return 0;
}