summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:50:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:50:28 +0300
commit616ab2676cc932ab59152c510d584c429090987a (patch)
tree9184b8836b51a073f67ee60a46043084687207a7 /src/being/being.cpp
parent4b397f4c8e2b0c8d636cc2782d9571567473975b (diff)
downloadmanaplus-616ab2676cc932ab59152c510d584c429090987a.tar.gz
manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.bz2
manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.xz
manaplus-616ab2676cc932ab59152c510d584c429090987a.zip
Remove getter for serverFeatures.
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 e0aa5f29c..c5e2ff716 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2456,7 +2456,7 @@ void Being::drawHpBar(Graphics *const graphics, const int maxHP, const int hp,
const int dx = static_cast<const int>(static_cast<float>(width) / p);
- if (!Net::getServerFeatures()->haveServerHp())
+ if (!serverFeatures->haveServerHp())
{ // old servers
if ((!damage && (this != localPlayer || hp == maxHP))
|| (!hp && maxHP == damage))