diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
commit | 616ab2676cc932ab59152c510d584c429090987a (patch) | |
tree | 9184b8836b51a073f67ee60a46043084687207a7 /src/gui/popups/popupmenu.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.gz manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.xz manaplus-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 9aa99b229..31ae42b4a 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -793,7 +793,7 @@ void PopupMenu::showChatPopup(const int x, const int y, ChatTab *const tab) } addPlayerMisc(); addBuySellDefault(); - if (Net::getServerFeatures()->havePartyNickInvite()) + if (serverFeatures->havePartyNickInvite()) addParty(wTab->getNick()); mBrowserBox->addRow("##3---"); } @@ -1087,7 +1087,7 @@ void PopupMenu::handleLink(const std::string &link, { if (mItem) { - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) { chatWindow->addItemText(mItem->getInfo().getName( mItem->getColor())); @@ -1104,7 +1104,7 @@ void PopupMenu::handleLink(const std::string &link, if (item) { - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) { chatWindow->addItemText(item->getInfo().getName( item->getColor())); |