diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-08 18:06:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-08 18:06:17 +0300 |
commit | dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7 (patch) | |
tree | f709b4521b764b97c60acf619f6d44c72eb309af /src/net/eathena | |
parent | 6303e605ef23003aabace85cde3f04574f1fb05c (diff) | |
download | mv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.tar.gz mv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.tar.bz2 mv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.tar.xz mv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.zip |
Add server feature haveNpcWhispers.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index 73aac6ea7..6b83835cd 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -175,4 +175,9 @@ bool ServerFeatures::haveJoinChannel() const return serverVersion >= 3; } +bool ServerFeatures::haveNpcWhispers() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index adf8be2a1..b1b6980a9 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -89,6 +89,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveNpcGender() const override final; bool haveJoinChannel() const override final; + + bool haveNpcWhispers() const override final; }; } // namespace EAthena |