aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-18 09:04:31 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-18 09:04:31 +0300
commit0bd1b782d0134180ae1af692533f1c59e29a03de (patch)
tree482240ef1b46d1f0c5e5ed66a0c79fe734c3f6e7 /src
parent4a6e6cee2087deaf45d741154d03227774bb5168 (diff)
downloadminetest-0bd1b782d0134180ae1af692533f1c59e29a03de.tar.gz
minetest-0bd1b782d0134180ae1af692533f1c59e29a03de.tar.bz2
minetest-0bd1b782d0134180ae1af692533f1c59e29a03de.zip
modified health bar a bit
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4d943f45f..7ad7746ad 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -362,7 +362,7 @@ void draw_hotbar(video::IVideoDriver *driver, gui::IGUIFont *font,
core::rect<s32>(core::position2d<s32>(0,0),
core::dimension2di(heart_texture->getOriginalSize())),
NULL, colors, true);
- p += v2s32(20,0);
+ p += v2s32(16,0);
}
if(halfheartcount % 2 == 1)
{
@@ -375,7 +375,7 @@ void draw_hotbar(video::IVideoDriver *driver, gui::IGUIFont *font,
driver->draw2DImage(heart_texture, rect,
core::rect<s32>(core::position2d<s32>(0,0), srcd),
NULL, colors, true);
- p += v2s32(20,0);
+ p += v2s32(16,0);
}
}
}