From 65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Jul 2012 18:37:00 +0300 Subject: Fix code style. --- src/being.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being.cpp') diff --git a/src/being.cpp b/src/being.cpp index 740989993..2d276a72c 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2120,8 +2120,8 @@ bool Being::drawSpriteAt(Graphics *graphics, int x, int y) const } if (mShowOwnHP && player_node == this && mAction != DEAD) { - drawHpBar(graphics, PlayerInfo::getAttribute(MAX_HP), - PlayerInfo::getAttribute(HP), 0, + drawHpBar(graphics, PlayerInfo::getAttribute(PlayerInfo::MAX_HP), + PlayerInfo::getAttribute(PlayerInfo::HP), 0, UserPalette::PLAYER_HP, UserPalette::PLAYER_HP2, x - 50 + 16, y + 32 - 6, 2 * 50, 4); } -- cgit v1.2.3-60-g2f50