From f16af47bd98f865193fcea1bbd9507904e2b20af Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 21:09:57 +0300 Subject: Remove ServerFeatures haveCart because it depend only on server type. --- src/gui/widgets/shoplistbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp index 0fcce799a..004263119 100644 --- a/src/gui/widgets/shoplistbox.cpp +++ b/src/gui/widgets/shoplistbox.cpp @@ -38,6 +38,7 @@ #include "gui/windows/itemamountwindow.h" +#include "net/net.h" #include "net/serverfeatures.h" #include "resources/inventory/inventory.h" @@ -253,7 +254,7 @@ void ShopListBox::mouseReleased(MouseEvent& event) return; } if (mType == ShopListBoxType::SellShop && - serverFeatures->haveCart() && + Net::getNetworkType() == ServerType::EATHENA && src != DragDropSource::Cart) { return; -- cgit v1.2.3-60-g2f50