summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-24 20:40:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-24 20:40:00 +0300
commit4b5a38945c47d492fe8e4581b2d92956a689612e (patch)
treec55f181245e4c675fe2d8c78478bc2dce54d844e /src/actions/commands.cpp
parent1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816 (diff)
downloadmv-4b5a38945c47d492fe8e4581b2d92956a689612e.tar.gz
mv-4b5a38945c47d492fe8e4581b2d92956a689612e.tar.bz2
mv-4b5a38945c47d492fe8e4581b2d92956a689612e.tar.xz
mv-4b5a38945c47d492fe8e4581b2d92956a689612e.zip
Move chat command /neutral into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index c63e8a439..aba86a87f 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -198,4 +198,11 @@ impHandler(chatDisregard)
return true;
}
+impHandler(chatNeutral)
+{
+ // TRANSLATORS: neutral command
+ changeRelation(event.args, PlayerRelation::NEUTRAL, _("neutral"), event.tab);
+ return true;
+}
+
} // namespace Actions