diff --git a/builtin/game/statbars.lua b/builtin/game/statbars.lua index 398817fe..169bd9ba 100644 --- a/builtin/game/statbars.lua +++ b/builtin/game/statbars.lua @@ -44,12 +44,9 @@ local function initialize_builtin_statbars(player) end if player:hud_get_flags().healthbar then - --if hud_ids[name].id_healthbar == nil then - --hud_ids[name].id_healthbar = hud.register("health", health_bar_definition) - minetest.after(0, function() - hud.change_item(player, "health", {number = player:get_hp()}) - end) - --end + minetest.after(0, function() + hud.change_item(player, "health", {number = player:get_hp()}) + end) else if hud_ids[name].id_healthbar ~= nil then player:hud_remove(hud_ids[name].id_healthbar) diff --git a/src/hud.h b/src/hud.h index 76cf9c0c..efd4d550 100644 --- a/src/hud.h +++ b/src/hud.h @@ -46,7 +46,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define HUD_PARAM_HOTBAR_IMAGE 2 #define HUD_PARAM_HOTBAR_SELECTED_IMAGE 3 -#define HUD_HOTBAR_ITEMCOUNT_DEFAULT 8 +#define HUD_HOTBAR_ITEMCOUNT_DEFAULT 9 #define HUD_HOTBAR_ITEMCOUNT_MAX 23 diff --git a/textures/base/blank.png b/textures/base/blank.png index 85e02501..240ca4f8 100644 Binary files a/textures/base/blank.png and b/textures/base/blank.png differ