summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 18:26:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 18:26:03 +0300
commit7450c2b0f968a5dada1222dbbc137362d331e491 (patch)
tree6d2fe0144d4168f079def1d22de735c709c3b8c7 /src/net/eathena
parent953cc467b8a9ae97c02c9b30993bf2f420de7d2a (diff)
downloadmanaplus-7450c2b0f968a5dada1222dbbc137362d331e491.tar.gz
manaplus-7450c2b0f968a5dada1222dbbc137362d331e491.tar.bz2
manaplus-7450c2b0f968a5dada1222dbbc137362d331e491.tar.xz
manaplus-7450c2b0f968a5dada1222dbbc137362d331e491.zip
Add server feature haveServerHp.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index a6c52491f..98deca54f 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -47,4 +47,9 @@ bool ServerFeatures::haveChangePartyLeader() const
return true;
}
+bool ServerFeatures::haveServerHp() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index bca6f8f50..9e297b25e 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -39,6 +39,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool havePartyNickInvite() const override final;
bool haveChangePartyLeader() const override final;
+
+ bool haveServerHp() const override final;
};
} // namespace EAthena