From: Perttu Ahola Date: Sat, 18 Jun 2011 06:04:31 +0000 (+0300) Subject: modified health bar a bit X-Git-Tag: 0.2.20110731_3~120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0bd1b782d0134180ae1af692533f1c59e29a03de;p=oweals%2Fminetest.git modified health bar a bit --- diff --git a/data/heart.png b/data/heart.png index ddd273dd2..6bc183e04 100644 Binary files a/data/heart.png and b/data/heart.png differ 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(core::position2d(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(core::position2d(0,0), srcd), NULL, colors, true); - p += v2s32(20,0); + p += v2s32(16,0); } } }