diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-23 15:02:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-23 15:02:35 +0300 |
commit | e07a6a1cb8cd414f0b0a8de21903cd621582a906 (patch) | |
tree | 5058fbac6ee8d57a794cd32b5e93798d8818b406 /src/input/inputactionmap.h | |
parent | ab5e3e053a31efdc5799c1239e2bceaacf7cff61 (diff) | |
download | manaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.tar.gz manaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.tar.bz2 manaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.tar.xz manaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.zip |
Add action for targetting pets.
New chat command: targetpet
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 58ca20e6a..edd9620be 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4079,6 +4079,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME | InputCondition::NOTARGET, "targetmercenary", + false}, + {"keyTargetPet", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::targetPet, + InputAction::NO_VALUE, 50, + InputCondition::INGAME | InputCondition::NOTARGET, + "targetpet", false} }; |