mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
HDB: Complete the SetCamera stub in lua-script.cpp
This commit is contained in:
parent
21af74993a
commit
d67b047306
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user