diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-18 17:48:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-18 17:48:30 +0300 |
commit | d1d247016b746fcb9b1bcf080c6975e2f60cca78 (patch) | |
tree | 3fdbde26f471371238cc2cc698f5d78c69d2e6c9 /src/net/tmwa | |
parent | 68d6ec7e0e2877874da5a25297fc7a0a6f433267 (diff) | |
download | plus-d1d247016b746fcb9b1bcf080c6975e2f60cca78.tar.gz plus-d1d247016b746fcb9b1bcf080c6975e2f60cca78.tar.bz2 plus-d1d247016b746fcb9b1bcf080c6975e2f60cca78.tar.xz plus-d1d247016b746fcb9b1bcf080c6975e2f60cca78.zip |
Add serverFeature have flag.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index e9615a68a..c33030ca1 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -198,6 +198,11 @@ bool ServerFeatures::haveCart() const return false; } +bool ServerFeatures::haveCards() const +{ + return false; +} + bool ServerFeatures::haveTalkPet() const { return true; diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 10f328077..7cde29acc 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -100,6 +100,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveCart() const override final A_CONST; + bool haveCards() const override final A_CONST; + bool haveTalkPet() const override final A_CONST; bool haveMovePet() const override final A_CONST; |