summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
parent4f96bf265375b7ca580f072f5a25c8b4097fb04a (diff)
downloadplus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.gz
plus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.bz2
plus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.xz
plus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.zip
Fix wrong checks after removing some server features.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/item/item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/item/item.cpp b/src/resources/item/item.cpp
index 86bd84aa4..45e365553 100644
--- a/src/resources/item/item.cpp
+++ b/src/resources/item/item.cpp
@@ -195,6 +195,6 @@ void Item::setOptions(const ItemOptionsList *const options)
void Item::updateColor()
{
- if (Net::getNetworkType() == ServerType::EATHENA)
+ if (Net::getNetworkType() != ServerType::TMWATHENA)
setId(mId, ItemColorManager::getColorFromCards(&mCards[0]));
}