diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:29:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:29:50 +0300 |
commit | b3f08b33aff591346efb4a94c4cfccdd7b120e9f (patch) | |
tree | 34501eda3aeacaa09f385d59a00237b9f1d89b3d /src/input | |
parent | 9de5536077107f36185c1132cd0cbcdbeefffabb (diff) | |
download | manaplus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.tar.gz manaplus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.tar.bz2 manaplus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.tar.xz manaplus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.zip |
Move chat command /dontremovename 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 510e42793..cdfe410fa 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -410,6 +410,7 @@ namespace InputAction TEST_SDL_FONT, ENABLE_HIGHLIGHT, DISABLE_HIGHLIGHT, + DONT_REMOVE_NAME, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index d395d83b0..dad0f0cc1 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3467,6 +3467,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "disablehighlight", + false}, + {"keyDontRemoveName", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::dontRemoveName, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "dontremovename", false} }; |