From: Perttu Ahola Date: Sat, 18 Jun 2011 06:04:31 +0000 (+0300) Subject: modified health bar a bit X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=0bd1b782d0134180ae1af692533f1c59e29a03de;p=zefram%2Fminetest%2Fminetest_engine.git modified health bar a bit --- diff --git a/data/heart.png b/data/heart.png index ddd273dd..6bc183e0 100644 Binary files a/data/heart.png and b/data/heart.png differ diff --git a/src/game.cpp b/src/game.cpp index 4d943f45..7ad7746a 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); } } }