diff options
-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 69e43fabe6..40582a54f7 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -955,7 +955,13 @@ static int setInfobarDark(lua_State *L) { } static int setPointerState(lua_State *L) { - warning("STUB: SET POINTER STATE"); + double value = lua_tonumber(L, 1); + + g_hdb->_lua->checkParameters("setPointerState", 1); + + lua_pop(L, 1); + + g_hdb->_drawMan->setPointerState((int)value); return 0; } |