From 28e8f3d789cb0cf14650ec014cbdc9ea2b8e0172 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Thu, 20 Jun 2019 18:33:44 +0530 Subject: HDB: Remove cineEntityFace stub --- engines/hdb/lua-script.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index ba37b41848..c7a2947af2 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -308,7 +308,13 @@ static int cineFunction(lua_State *L) { } static int cineEntityFace(lua_State *L) { - warning("STUB: CINE ENTITY FACE"); + const char *luaName = lua_tostring(L, 1); + double dir = lua_tonumber(L, 2); + + g_hdb->_lua->checkParameters("CineEntityFace", 2); + + lua_pop(L, 2); + g_hdb->_ai->cineEntityFace(luaName, dir); return 0; } -- cgit v1.2.3