diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 19:36:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 19:36:50 +0300 |
commit | a5e3d86efb85bb2a65e160972cc56e89cd764453 (patch) | |
tree | f385447603a24a3898b493ce131b4edf8abd86ab /src/input/inputactionmap.h | |
parent | 8bfdc250ae7c5ab852653b3aa2da7f3781c7c56e (diff) | |
download | manaplus-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.gz manaplus-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.bz2 manaplus-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.xz manaplus-a5e3d86efb85bb2a65e160972cc56e89cd764453.zip |
Add chat command for stop and start pet ai.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index c5d9d9d76..8c09001a2 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4460,6 +4460,24 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "petdirectright|directrightpet", false}, + {"keyPetAiStart", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petAiStart, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petaistart|startpetai", + false}, + {"keyPetAiStop", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petAiStop, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petaistop|stoppetai", + false}, }; #endif // INPUT_INPUTACTIONMAP_H |