diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-01 17:03:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-02 00:13:44 +0300 |
commit | 30f142d6a147885afef203cdc83326cccdb4bb75 (patch) | |
tree | df3a2f37145ce2b2c5a1651d7fb285ae149cda42 /src/gui/popups/popupmenu.cpp | |
parent | 2464d9d85019711583ef830c2fdeae8a6772cb53 (diff) | |
download | mv-30f142d6a147885afef203cdc83326cccdb4bb75.tar.gz mv-30f142d6a147885afef203cdc83326cccdb4bb75.tar.bz2 mv-30f142d6a147885afef203cdc83326cccdb4bb75.tar.xz mv-30f142d6a147885afef203cdc83326cccdb4bb75.zip |
eathena: Show shop status on seller.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 5bed32f13..48bb4100c 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2365,17 +2365,14 @@ void PopupMenu::addBuySell(const Being *const being) if (player_relations.getDefault() & PlayerRelation::TRADE) { mBrowserBox->addRow("##3---"); - if (being->isAdvanced()) + if (being->isShopEnabled()) { - if (being->isShopEnabled()) - { - // TRANSLATORS: popup menu item - // TRANSLATORS: buy item - mBrowserBox->addRow("/buy 'NAME'", _("Buy")); - // TRANSLATORS: popup menu item - // TRANSLATORS: sell item - mBrowserBox->addRow("/sell 'NAME'", _("Sell")); - } + // TRANSLATORS: popup menu item + // TRANSLATORS: buy item + mBrowserBox->addRow("/buy 'NAME'", _("Buy")); + // TRANSLATORS: popup menu item + // TRANSLATORS: sell item + mBrowserBox->addRow("/sell 'NAME'", _("Sell")); } else { |