diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-12 12:24:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-12 12:24:21 +0300 |
commit | 38d5199a67d59d1ba8fc02a3771a9567d66efd7d (patch) | |
tree | 44612eafba6d690c03097862c065a6a9b00db67d /src/input/inputactionmap.h | |
parent | ddb8fd5d139292ff1f862384577c723db34cf467 (diff) | |
download | manaplus-38d5199a67d59d1ba8fc02a3771a9567d66efd7d.tar.gz manaplus-38d5199a67d59d1ba8fc02a3771a9567d66efd7d.tar.bz2 manaplus-38d5199a67d59d1ba8fc02a3771a9567d66efd7d.tar.xz manaplus-38d5199a67d59d1ba8fc02a3771a9567d66efd7d.zip |
Add chat command for nuke players.
New chat command: /nuke NAME
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 292fdc1c1..1ae660fb0 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4189,6 +4189,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "guild", true}, + {"keyNuke", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatNuke, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "nuke", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |