diff options
author | Nipun Garg | 2019-06-20 18:15:29 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:52 +0200 |
commit | 0aee0d4ebc879c7576bbc00eb20c42dd2e8777ee (patch) | |
tree | b50d2f010f1591fabe2bfb90afcb75440afe908e /engines/hdb/lua-script.cpp | |
parent | 89ceed279876b4fd39272c504055c4729e24549e (diff) | |
download | scummvm-rg350-0aee0d4ebc879c7576bbc00eb20c42dd2e8777ee.tar.gz scummvm-rg350-0aee0d4ebc879c7576bbc00eb20c42dd2e8777ee.tar.bz2 scummvm-rg350-0aee0d4ebc879c7576bbc00eb20c42dd2e8777ee.zip |
HDB: Remove cineMoveEntity stub
Diffstat (limited to 'engines/hdb/lua-script.cpp')
-rw-r--r-- | engines/hdb/lua-script.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index f240bcb030..ba37b41848 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -234,7 +234,16 @@ static int cineRemoveEntity(lua_State *L) { } static int cineMoveEntity(lua_State *L) { - warning("STUB: CINE MOVE ENTITY"); + const char *entName = lua_tostring(L, 1); + double x = lua_tonumber(L, 2); + double y = lua_tonumber(L, 3); + double level = lua_tonumber(L, 4); + double speed = lua_tonumber(L, 5); + + g_hdb->_lua->checkParameters("cineMoveEntity", 5); + + lua_pop(L, 5); + g_hdb->_ai->cineMoveEntity(entName, (int)x, (int)y, (int)level, (int)speed); return 0; } |