diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-16 20:22:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-16 20:22:52 +0300 |
commit | 36bf685462f371b306f51a29331e7a1d86ce3a91 (patch) | |
tree | 79ef1ffdb59524f9fec7ce2dcb3e1cf7f490c70f /src/gui/popups/popupmenu.cpp | |
parent | d54c371ad9d3c8a019d7d6bdc0262cd352a06ae5 (diff) | |
download | manaplus-36bf685462f371b306f51a29331e7a1d86ce3a91.tar.gz manaplus-36bf685462f371b306f51a29331e7a1d86ce3a91.tar.bz2 manaplus-36bf685462f371b306f51a29331e7a1d86ce3a91.tar.xz manaplus-36bf685462f371b306f51a29331e7a1d86ce3a91.zip |
add server feature haveItemColors.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index bcc0b92ef..b92d572fb 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1089,7 +1089,7 @@ void PopupMenu::handleLink(const std::string &link, { if (mItem) { - if (serverVersion > 0) + if (Net::getServerFeatures()->haveItemColors()) { chatWindow->addItemText(mItem->getInfo().getName( mItem->getColor())); @@ -1106,7 +1106,7 @@ void PopupMenu::handleLink(const std::string &link, if (item) { - if (serverVersion > 0) + if (Net::getServerFeatures()->haveItemColors()) { chatWindow->addItemText(item->getInfo().getName( item->getColor())); |