diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/being.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index 736d64f1a..31f1eac59 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2071,7 +2071,8 @@ void Being::drawHpBar(Graphics *graphics, int maxHP, int hp, int damage, int dx = static_cast<int>(static_cast<float>(width) / p); - if (!damage || (!hp && maxHP == damage)) + if ((!damage && (this != player_node || hp == maxHP)) + || (!hp && maxHP == damage)) { graphics->setColor(userPalette->getColorWithAlpha(color1)); |