summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 7cfc18760..4082f6f07 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -4095,7 +4095,7 @@ void Being::drawHpBar(Graphics *restrict const graphics,
if (p <= 0 || p > width)
return;
- const int dx = static_cast<const int>(static_cast<float>(width) / p);
+ const int dx = static_cast<int>(static_cast<float>(width) / p);
#ifdef TMWA_SUPPORT
if (!serverFeatures->haveServerHp())