From e72cfb920d15b8962a02f87b90442a88d521ab49 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 12 Oct 2014 01:24:03 +0300 Subject: Add server feature for request monster names. This need if monster have name not from monsters.xml. --- src/net/eathena/serverfeatures.cpp | 5 +++++ src/net/eathena/serverfeatures.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'src/net/eathena') diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index 00357e65f..f7bd1fe09 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -137,4 +137,9 @@ bool ServerFeatures::haveCharRename() const return true; } +bool ServerFeatures::haveMonsterName() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 5c37cc066..813e2e53e 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/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; -- cgit v1.2.3-70-g09d2