summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
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);
}