summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-10 01:21:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-10 01:21:18 +0300
commit5ac88f3197be965804827751e8679cc6dd59b188 (patch)
treeb1b1852ba9c386029cdcc4128826d1bea4f955a9 /src/input
parent8ca5407776fa9c3038b608f9caf401952c2631d6 (diff)
downloadmv-5ac88f3197be965804827751e8679cc6dd59b188.tar.gz
mv-5ac88f3197be965804827751e8679cc6dd59b188.tar.bz2
mv-5ac88f3197be965804827751e8679cc6dd59b188.tar.xz
mv-5ac88f3197be965804827751e8679cc6dd59b188.zip
Add chat command for move monster in priority attack list into one position up.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 7751bbaae..6ea9ea303 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5630,6 +5630,12 @@ static const InputActionData inputActionData
"attackmovedown|moveattackdown",
UseArgs_true,
Protected_true},
+ {"keyMovePriorityAttackUp",
+ defaultAction(&Actions::movePriorityAttackUp),
+ InputCondition::ENABLED,
+ "attackmovepriorityup|movepriorityattackup",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction