summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:26:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:26:14 +0300
commita7c2351c708c38bf020e8e1250b6a78cb2b6f89e (patch)
treebe67051942049a004b2cfaa0535931aa5d4f169b /src/input
parent4bb530a447cc08fbe176cface478898e0b35f5d1 (diff)
downloadmanaplus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.gz
manaplus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.bz2
manaplus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.xz
manaplus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.zip
Move chat command /me into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 47414e0db..2eb05dac6 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -363,6 +363,7 @@ namespace InputAction
CREATE_PARTY,
CREATE_GUILD,
PARTY,
+ ME,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index d01e870fb..368518afc 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3036,6 +3036,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"party",
+ true},
+ {"keyMe",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::me,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "me",
true}
};