summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-12 01:24:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-12 01:24:03 +0300
commite72cfb920d15b8962a02f87b90442a88d521ab49 (patch)
treeb61ab11516e54d513a94ad8ddb17e61ad415d933 /src/net/tmwa
parent05b86a3a42187a3de25c6d0219e54c7b2f8cfcf3 (diff)
downloadplus-e72cfb920d15b8962a02f87b90442a88d521ab49.tar.gz
plus-e72cfb920d15b8962a02f87b90442a88d521ab49.tar.bz2
plus-e72cfb920d15b8962a02f87b90442a88d521ab49.tar.xz
plus-e72cfb920d15b8962a02f87b90442a88d521ab49.zip
Add server feature for request monster names.
This need if monster have name not from monsters.xml.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 3c603f245..c94c093a4 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -139,4 +139,9 @@ bool ServerFeatures::haveCharRename() const
return false;
}
+bool ServerFeatures::haveMonsterName() const
+{
+ return false;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index adddbd964..97c42d1e4 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -70,6 +70,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveMonsterAttackRange() const override final;
+ bool haveMonsterName() const override final;
+
bool haveEmailOnRegister() const override final;
bool haveEightDirections() const override final;