diff options
author | Nipun Garg | 2019-06-20 00:02:53 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:50 +0200 |
commit | 76d24266138d5b2b067abb0b756cdfc7b97bd923 (patch) | |
tree | 0d3eb9e3ff4f43fef17838ad05ecef1f0ecdb6e9 /engines/hdb/lua-script.cpp | |
parent | cf7c1f35e632bf666a5745533f605d2fe431e6f1 (diff) | |
download | scummvm-rg350-76d24266138d5b2b067abb0b756cdfc7b97bd923.tar.gz scummvm-rg350-76d24266138d5b2b067abb0b756cdfc7b97bd923.tar.bz2 scummvm-rg350-76d24266138d5b2b067abb0b756cdfc7b97bd923.zip |
HDB: Complete cineUse stub in lua-script.cpp
Diffstat (limited to 'engines/hdb/lua-script.cpp')
-rw-r--r-- | engines/hdb/lua-script.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index e8c31c4338..66aa6dca40 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -206,7 +206,12 @@ static int cinePlayVoice(lua_State *L) { } static int cineUseEntity(lua_State *L) { - warning("STUB: CINE USE ENTITY"); + const char *string = lua_tostring(L, 1); + + g_hdb->_lua->checkParameters("cineUseEntity", 1); + + lua_pop(L, 1); + g_hdb->_ai->cineUse(string); return 0; } |