diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-08 00:38:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-08 00:38:31 +0300 |
commit | 344efb2009b8c6d329a6d19dd45ed49076252710 (patch) | |
tree | 2e5c1a7d9484e1cc3bfedac7b03c7146be442896 /src/input | |
parent | fa4c5d79b04a319550996c48448cd799fe7fde56 (diff) | |
download | mv-344efb2009b8c6d329a6d19dd45ed49076252710.tar.gz mv-344efb2009b8c6d329a6d19dd45ed49076252710.tar.bz2 mv-344efb2009b8c6d329a6d19dd45ed49076252710.tar.xz mv-344efb2009b8c6d329a6d19dd45ed49076252710.zip |
Add into skill context menu for add shortcut.
Also add chat command for add skill shortcut by skill id into free slot.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 9f4f3f63e..6017d95dc 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5738,6 +5738,12 @@ static const InputActionData inputActionData "petunequip|unequippet", UseArgs_false, Protected_false}, + {"keyAddSkillShortcut", + defaultAction(&Actions::addSkillShortcut), + InputCondition::INGAME, + "addskillshortcut|skillshortcut", + UseArgs_true, + Protected_false}, }; #undef defaultAction |