diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:17:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:17:28 +0300 |
commit | e82f8ed2976b6b6412ab66329e0794225e2030e7 (patch) | |
tree | f0dbea61e6aa58edb0f16705612744880b4586c9 /src/net | |
parent | f16af47bd98f865193fcea1bbd9507904e2b20af (diff) | |
download | plus-e82f8ed2976b6b6412ab66329e0794225e2030e7.tar.gz plus-e82f8ed2976b6b6412ab66329e0794225e2030e7.tar.bz2 plus-e82f8ed2976b6b6412ab66329e0794225e2030e7.tar.xz plus-e82f8ed2976b6b6412ab66329e0794225e2030e7.zip |
Remove ServerFeatures haveCards because it depend only on server type.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
5 files changed, 0 insertions, 16 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index a704e41c8..74008e072 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -116,11 +116,6 @@ bool ServerFeatures::haveCreateCharGender() const return serverVersion > 0; } -bool ServerFeatures::haveCards() const -{ - return true; -} - bool ServerFeatures::haveTalkPet() const { return serverVersion > 0; diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 2c8162bc6..8e8d374f8 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -66,8 +66,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveCreateCharGender() const override final; - bool haveCards() const override final A_CONST; - bool haveTalkPet() const override final; bool haveMovePet() const override final; diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 521c764b9..a5733ea4b 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -68,8 +68,6 @@ class ServerFeatures notfinal virtual bool haveCreateCharGender() const = 0; - virtual bool haveCards() const = 0; - virtual bool haveTalkPet() const = 0; virtual bool haveMovePet() const = 0; diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 47f4ea4a6..c006a691d 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -114,11 +114,6 @@ bool ServerFeatures::haveCreateCharGender() const return tmwServerVersion > 0x0f0b17; } -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 76cb2085b..2409de4f9 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -66,8 +66,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveCreateCharGender() const override final; - bool haveCards() const override final A_CONST; - bool haveTalkPet() const override final A_CONST; bool haveMovePet() const override final A_CONST; |