summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-15 18:37:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-15 18:37:00 +0300
commit65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635 (patch)
tree493d6441dd152419908d28178c26112a4639e89f /src/being.cpp
parente1e411459e9c9aae819eee474d48d0cc20f6ca07 (diff)
downloadmanaverse-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.gz
manaverse-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.bz2
manaverse-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.xz
manaverse-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.zip
Fix code style.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}