summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 12:04:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 12:04:45 +0300
commit1a9a7ece01b6633e1fe860cba03bfd0d895c172d (patch)
treeda2b92377903081be4746a2eb8ce5a879c334691 /src/input
parentae4062ed3c48706127c32efbc70cca0cc5ce19f8 (diff)
downloadplus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.tar.gz
plus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.tar.bz2
plus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.tar.xz
plus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.zip
Move chat command /imitation 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 7a9dcaecf..aa7cd90a4 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -377,6 +377,7 @@ namespace InputAction
PSEUDO_AWAY,
FOLLOW,
NAVIGATE,
+ IMITATION,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index ca359804b..01953a71d 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3162,6 +3162,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"navigate",
+ true},
+ {"keyImitation",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::imitation,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "imitation",
true}
};