summaryrefslogtreecommitdiff
path: root/src/actions/commands.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/actions/commands.cpp
parent05edba87ab0dae7ac4480c86655afe59cd1dd3bd (diff)
downloadmv-2f768a34f72560ee8b2934228f548a4909533887.tar.gz
mv-2f768a34f72560ee8b2934228f548a4909533887.tar.bz2
mv-2f768a34f72560ee8b2934228f548a4909533887.tar.xz
mv-2f768a34f72560ee8b2934228f548a4909533887.zip
Rename player_relations into playerRelations.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index f22d7bc93..0107770fe 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -114,7 +114,7 @@ static void reportRelation(const InputEvent &event,
{
if (event.tab != nullptr)
{
- if (player_relations.getRelation(event.args) == rel)
+ if (playerRelations.getRelation(event.args) == rel)
{
// TRANSLATORS: unignore command
event.tab->chatLog(str1, ChatMsgType::BY_SERVER);
@@ -135,7 +135,7 @@ static void changeRelation(const InputEvent &event,
if (args.empty())
return;
- if (player_relations.getRelation(args) == relation)
+ if (playerRelations.getRelation(args) == relation)
{
if (event.tab != nullptr)
{
@@ -147,7 +147,7 @@ static void changeRelation(const InputEvent &event,
}
else
{
- player_relations.setRelation(args, relation);
+ playerRelations.setRelation(args, relation);
}
reportRelation(event,
@@ -180,10 +180,10 @@ impHandler(chatUnignore)
if (args.empty())
return false;
- const RelationT rel = player_relations.getRelation(args);
+ const RelationT rel = playerRelations.getRelation(args);
if (rel != Relation::NEUTRAL && rel != Relation::FRIEND)
{
- player_relations.setRelation(args, Relation::NEUTRAL);
+ playerRelations.setRelation(args, Relation::NEUTRAL);
}
else
{
@@ -211,7 +211,7 @@ impHandler(chatErase)
if (args.empty())
return false;
- if (player_relations.getRelation(args) == Relation::ERASED)
+ if (playerRelations.getRelation(args) == Relation::ERASED)
{
if (event.tab != nullptr)
{
@@ -223,7 +223,7 @@ impHandler(chatErase)
}
else
{
- player_relations.setRelation(args, Relation::ERASED);
+ playerRelations.setRelation(args, Relation::ERASED);
}
reportRelation(event,