diff options
author | Nipun Garg | 2019-06-20 18:33:44 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:52 +0200 |
commit | 28e8f3d789cb0cf14650ec014cbdc9ea2b8e0172 (patch) | |
tree | f7d61d02b24ec5564b665abdc78b6976240b5ac0 /engines | |
parent | dfdcbd8b4f397ebc2209d301b0f9ae5c9ee6e320 (diff) | |
download | scummvm-rg350-28e8f3d789cb0cf14650ec014cbdc9ea2b8e0172.tar.gz scummvm-rg350-28e8f3d789cb0cf14650ec014cbdc9ea2b8e0172.tar.bz2 scummvm-rg350-28e8f3d789cb0cf14650ec014cbdc9ea2b8e0172.zip |
HDB: Remove cineEntityFace stub
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/lua-script.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
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; } |