summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-10 01:53:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-10 01:53:49 +0300
commit2291f18b6366312916903de6cfe973379ebd536d (patch)
tree4d3f8ea4fa31f19dd402fc44089b129583a81a4e /src/input
parent5ac88f3197be965804827751e8679cc6dd59b188 (diff)
downloadplus-2291f18b6366312916903de6cfe973379ebd536d.tar.gz
plus-2291f18b6366312916903de6cfe973379ebd536d.tar.bz2
plus-2291f18b6366312916903de6cfe973379ebd536d.tar.xz
plus-2291f18b6366312916903de6cfe973379ebd536d.zip
Add chat command for move monster in priority attack list into one position down.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 6ea9ea303..a2507f884 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5626,16 +5626,22 @@ static const InputActionData inputActionData
Protected_true},
{"keyMoveAttackDown",
defaultAction(&Actions::moveAttackDown),
- InputCondition::ENABLED,
+ InputCondition::INGAME,
"attackmovedown|moveattackdown",
UseArgs_true,
Protected_true},
{"keyMovePriorityAttackUp",
defaultAction(&Actions::movePriorityAttackUp),
- InputCondition::ENABLED,
+ InputCondition::INGAME,
"attackmovepriorityup|movepriorityattackup",
UseArgs_true,
Protected_true},
+ {"keyMovePriorityAttackDown",
+ defaultAction(&Actions::movePriorityAttackDown),
+ InputCondition::INGAME,
+ "attackmoveprioritydown|movepriorityattackdown",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction