diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 11:58:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 11:58:28 +0300 |
commit | ae4062ed3c48706127c32efbc70cca0cc5ce19f8 (patch) | |
tree | ba2576179837ca60fe4340e55aef627b9df84405 /src/input | |
parent | 2018073c8ec531d936321f2e6561b68d386f36a5 (diff) | |
download | manaplus-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.gz manaplus-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.bz2 manaplus-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.xz manaplus-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.zip |
Move chat command /navigate into actions.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 55310593a..7a9dcaecf 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -376,6 +376,7 @@ namespace InputAction AWAY_MESSAGE, PSEUDO_AWAY, FOLLOW, + NAVIGATE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 533771384..ca359804b 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3153,6 +3153,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "follow", + true}, + {"keyNavigate", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::navigate, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "navigate", true} }; |