summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being/being.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index eef9b1d40..6ed83429e 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -4093,6 +4093,7 @@ void Being::drawHpBar(Graphics *restrict const graphics,
const int dx = static_cast<const int>(static_cast<float>(width) / p);
+#ifdef TMWA_SUPPORT
if (!serverFeatures->haveServerHp())
{ // old servers
if ((!damage && (this != localPlayer || hp == maxHP))
@@ -4112,6 +4113,7 @@ void Being::drawHpBar(Graphics *restrict const graphics,
}
}
else
+#endif // TMWA_SUPPORT
{
if (hp == maxHP)
{