modified health bar a bit
authorPerttu Ahola <celeron55@gmail.com>
Sat, 18 Jun 2011 06:04:31 +0000 (09:04 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 18 Jun 2011 06:04:31 +0000 (09:04 +0300)
data/heart.png
src/game.cpp

index ddd273dd2f09fa7574ebb3f4ec6d802be1d259bb..6bc183e04f21cba17b52009e89bb52072d5a0afd 100644 (file)
Binary files a/data/heart.png and b/data/heart.png differ
index 4d943f45f14a2f539fa4d38b5154cedf0a6b5f81..7ad7746adb52bcb9ed93fb1dc795fae2e5ac8d27 100644 (file)
@@ -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);
                }
        }
 }