aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-02-08 12:45:19 -0500
committerkwolekr <kwolekr@minetest.net>2015-02-08 12:47:45 -0500
commit15c037614f6f7193cef4bfd1da45d83ef2fef393 (patch)
tree18e20a4c0f1ee350524f24caf9c6661f0e247800 /builtin
parenta0535d286bc2437e4029b76b371343bc4e21d18b (diff)
downloadminetest-15c037614f6f7193cef4bfd1da45d83ef2fef393.tar.gz
minetest-15c037614f6f7193cef4bfd1da45d83ef2fef393.tar.bz2
minetest-15c037614f6f7193cef4bfd1da45d83ef2fef393.zip
Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar
Diffstat (limited to 'builtin')
-rw-r--r--builtin/game/statbars.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/game/statbars.lua b/builtin/game/statbars.lua
index c0d49332f..61a8b9077 100644
--- a/builtin/game/statbars.lua
+++ b/builtin/game/statbars.lua
@@ -7,7 +7,7 @@ local health_bar_definition =
number = 20,
direction = 0,
size = { x=24, y=24 },
- offset = { x=(-10*24)-25, y=-(48+24+10)},
+ offset = { x=(-10*24)-25, y=-(48+24+16)},
}
local breath_bar_definition =
@@ -18,7 +18,7 @@ local breath_bar_definition =
number = 20,
direction = 0,
size = { x=24, y=24 },
- offset = {x=25,y=-(48+24+10)},
+ offset = {x=25,y=-(48+24+16)},
}
local hud_ids = {}