From d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 20:11:13 +0300 Subject: Remove ServerFeatures haveVending because it depend only on server type. --- src/net/tmwa/serverfeatures.cpp | 5 ----- src/net/tmwa/serverfeatures.h | 2 -- 2 files changed, 7 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 7a438db36..ddb843c1f 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::haveVending() const -{ - return false; -} - bool ServerFeatures::haveCart() const { return false; diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 57b89a57d..9ed734724 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 haveVending() const override final A_CONST; - bool haveCart() const override final A_CONST; bool haveCards() const override final A_CONST; -- cgit v1.2.3-70-g09d2