summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-08 18:43:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-08 18:43:49 +0300
commit0c1c6b5df196443b18e9e0ef2e9ef3de350a7234 (patch)
treee3f8ff1f0a844fca28c6ddc4af919880cbc2d5ac /src/gui/windows/tradewindow.cpp
parent4f96bf265375b7ca580f072f5a25c8b4097fb04a (diff)
downloadmv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.gz
mv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.bz2
mv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.xz
mv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.zip
Fix wrong checks after removing some server features.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index cdd5837d9..982f2dafd 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -535,7 +535,7 @@ bool TradeWindow::checkItem(const Item *const item) const
}
return false;
}
- if (Net::getNetworkType() == ServerType::EATHENA &&
+ if (Net::getNetworkType() != ServerType::TMWATHENA &&
item->isEquipped() == Equipped_true)
{
if (localChatTab)