diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-02-17 21:47:01 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-18 00:27:16 +0300 |
commit | 16b5c64933bf29d8e56e0d989ebab18ddae143a8 (patch) | |
tree | 47c04e88add47a5198a9f057930687f83afeb056 /src/input | |
parent | 0d355e3126ab7e0a88bd8e54ce724498f6828c01 (diff) | |
download | mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.tar.gz mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.tar.bz2 mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.tar.xz mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.zip |
Add key to heal most damaged player
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 5 | ||||
-rw-r--r-- | src/input/pages/other.cpp | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 9bc25f49d..8ce40ffe2 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -536,6 +536,7 @@ namespace InputAction CHAT_GUILD_TAB, DROP_CLEAR, WINDOW_CART, + HEAL_MOST_DAMAGED, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 013efa81f..57cd4d7fe 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3974,6 +3974,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::SHORTCUT0, "cart|opencart", false}, + {"keyMagicHealMostDamaged", + defaultAction(&Actions::healmd), + InputCondition::GAME | InputCondition::VALIDSPEED, + "healmd|saveass", + false}, }; #undef defaultAction diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 92de50f58..98714bd9a 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -147,6 +147,12 @@ SetupActionData setupActionDataOther[] = }, { // TRANSLATORS: input action name + N_("Heal the most injured player"), + InputAction::HEAL_MOST_DAMAGED, + "", + }, + { + // TRANSLATORS: input action name N_("Use #itenplz spell"), InputAction::MAGIC_ITENPLZ, "", |