diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 22:09:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 22:09:53 +0300 |
commit | 46f4e5fb5c77d01de334e059b88837f8c7fe1f3e (patch) | |
tree | 3d20a6b2902e70caeedde5afcb65d0cb5913e69a /src/input/inputactionmap.h | |
parent | f8423bd2d31ac4da409cabdc84fa2e3962336103 (diff) | |
download | manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.gz manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.bz2 manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.xz manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.zip |
Add chat command /immortal. Also add it to player context menu.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index cf2e882fc..d42fda40d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5413,6 +5413,12 @@ static const InputActionData inputActionData "disguise", UseArgs_true, Protected_true}, + {"keyCommandImmortal", + defaultAction(&Actions::commandImmortal), + InputCondition::INGAME, + "immortal", + UseArgs_true, + Protected_true}, }; #undef defaultAction |