aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f2d3956727..2db3b0241e 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -122,7 +122,15 @@ static int cineUnlockPlayer(lua_State *L) {
}
static int cineSetCamera(lua_State *L) {
- warning("STUB: CINE SET CAMERA");
+ double x = lua_tonumber(L, 1);
+ double y = lua_tonumber(L, 2);
+
+ g_hdb->_lua->checkParameters("cineSetCamera", 2);
+
+ lua_pop(L, 2);
+
+ g_hdb->_ai->cineSetCamera((int) x, (int) y);
+
return 0;
}