summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
commit2f768a34f72560ee8b2934228f548a4909533887 (patch)
tree0849395dea15a851fcec1a6236c29648cb41add7 /src/gui/popups/popupmenu.cpp
parent05edba87ab0dae7ac4480c86655afe59cd1dd3bd (diff)
downloadmanaverse-2f768a34f72560ee8b2934228f548a4909533887.tar.gz
manaverse-2f768a34f72560ee8b2934228f548a4909533887.tar.bz2
manaverse-2f768a34f72560ee8b2934228f548a4909533887.tar.xz
manaverse-2f768a34f72560ee8b2934228f548a4909533887.zip
Rename player_relations into playerRelations.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 0dbcaac2f..a01ab6bf8 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2400,7 +2400,7 @@ void PopupMenu::addNormalRelations()
void PopupMenu::addPlayerRelation(const std::string &name)
{
- switch (player_relations.getRelation(name))
+ switch (playerRelations.getRelation(name))
{
case Relation::NEUTRAL:
// TRANSLATORS: popup menu item
@@ -2501,7 +2501,7 @@ void PopupMenu::addFollow()
void PopupMenu::addBuySell(const Being *const being)
{
- if ((player_relations.getDefault() & PlayerRelation::TRADE) != 0u)
+ if ((playerRelations.getDefault() & PlayerRelation::TRADE) != 0u)
{
mBrowserBox->addRow("##3---");
const bool haveVending =
@@ -2535,7 +2535,7 @@ void PopupMenu::addBuySell(const Being *const being)
void PopupMenu::addBuySellDefault()
{
- if ((player_relations.getDefault() & PlayerRelation::TRADE) != 0u)
+ if ((playerRelations.getDefault() & PlayerRelation::TRADE) != 0u)
{
mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item