From b074109077e850b3f015fe6e60f320d4c64d23b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 23:09:24 +0300 Subject: Remove ServerFeatures haveServerPets because depend only on server type. --- src/net/eathena/serverfeatures.cpp | 5 ----- src/net/eathena/serverfeatures.h | 2 -- src/net/serverfeatures.h | 2 -- src/net/tmwa/serverfeatures.cpp | 5 ----- src/net/tmwa/serverfeatures.h | 2 -- 5 files changed, 16 deletions(-) (limited to 'src/net') diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index 57dac8555..bc7cd9daa 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -141,11 +141,6 @@ bool ServerFeatures::haveExtendedDropsPosition() const return serverVersion >= 12; } -bool ServerFeatures::haveServerPets() const -{ - return true; -} - bool ServerFeatures::haveFamily() const { return true; diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index fbd2e7992..de2f17c2d 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -76,8 +76,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveExtendedDropsPosition() const override final; - bool haveServerPets() const override final; - bool haveFamily() const override final; bool haveMoveWhileSit() const override final; diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 2f466a310..96bf6fd57 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -78,8 +78,6 @@ class ServerFeatures notfinal virtual bool haveExtendedDropsPosition() const = 0; - virtual bool haveServerPets() const = 0; - virtual bool haveFamily() const = 0; virtual bool haveMoveWhileSit() const = 0; diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index f68ef11de..220699048 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -139,11 +139,6 @@ bool ServerFeatures::haveExtendedDropsPosition() const return false; } -bool ServerFeatures::haveServerPets() const -{ - return false; -} - bool ServerFeatures::haveFamily() const { return false; diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 04f178c16..e5e404fd9 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -76,8 +76,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveExtendedDropsPosition() const override final A_CONST; - bool haveServerPets() const override final A_CONST; - bool haveFamily() const override final A_CONST; bool haveMoveWhileSit() const override final A_CONST; -- cgit v1.2.3-70-g09d2