summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/tradewindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 6e6fe5d95..34ee3699a 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -53,6 +53,7 @@
#include "resources/item/item.h"
+#include "net/net.h"
#include "net/serverfeatures.h"
#include "net/tradehandler.h"
@@ -535,7 +536,7 @@ bool TradeWindow::checkItem(const Item *const item) const
}
return false;
}
- if (serverFeatures->haveSecureTrades() &&
+ if (Net::getNetworkType() == ServerType::EATHENA &&
item->isEquipped() == Equipped_true)
{
if (localChatTab)