summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:47:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:47:16 +0300
commit8c53409bb625415ddc6fe131061c7e540d56a67e (patch)
tree95ba8f651a4d15794c0fdf5aebb86e88f56480ca /src/input
parent0888773fc1de5cc2aa1d92564e8d05231189e6f9 (diff)
downloadplus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.gz
plus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.bz2
plus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.xz
plus-8c53409bb625415ddc6fe131061c7e540d56a67e.zip
Move chat command /removeattack 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 dfdab0777..e4b9be2f9 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -391,6 +391,7 @@ namespace InputAction
UPTIME,
ADD_PRIORITY_ATTACK,
ADD_ATTACK,
+ REMOVE_ATTACK,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index b7f59361d..9a6b4d576 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3288,6 +3288,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"addattack",
+ true},
+ {"keyRemoveAttack",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::removeAttack,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "removeattack|removeignoreattack",
true}
};