diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:09:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:09:57 +0300 |
commit | f16af47bd98f865193fcea1bbd9507904e2b20af (patch) | |
tree | 3a01a3a794b24114426bb5dd80b5d03136548770 /src/gui | |
parent | d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 (diff) | |
download | ManaVerse-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.gz ManaVerse-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.bz2 ManaVerse-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.xz ManaVerse-f16af47bd98f865193fcea1bbd9507904e2b20af.zip |
Remove ServerFeatures haveCart because it depend only on server type.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/shoplistbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |