summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shoplistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shoplistbox.cpp')
-rw-r--r--src/gui/widgets/shoplistbox.cpp3
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;