aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/lua-script.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 7ea1a2f598..4986cd56d9 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -623,7 +623,14 @@ static int gotoMenu(lua_State *L) {
}
static int setInfobarDark(lua_State *L) {
- warning("STUB: SET INFOBAR DARK");
+ double value = lua_tonumber(L, 1);
+
+ g_hdb->_lua->checkParameters("setInfobarDark", 1);
+
+ lua_pop(L, 1);
+
+ g_hdb->_window->setInfobarDark((int)value);
+
return 0;
}