diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 19:05:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 19:05:31 +0300 |
commit | 77392dfa39913e4d6c51934deab51088da878e7a (patch) | |
tree | a6f56d693f5847a22e1514d17f7752798b84597b /src/input | |
parent | 4eb67aee829ba4f7b59d5a8f885a472d843e679a (diff) | |
download | mv-77392dfa39913e4d6c51934deab51088da878e7a.tar.gz mv-77392dfa39913e4d6c51934deab51088da878e7a.tar.bz2 mv-77392dfa39913e4d6c51934deab51088da878e7a.tar.xz mv-77392dfa39913e4d6c51934deab51088da878e7a.zip |
Add chat command /randomwarp. Also add it to player context menu.
Diffstat (limited to 'src/input')
-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 1289a9ecd..38768dbe1 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5371,6 +5371,12 @@ static const InputActionData inputActionData "loadpos|loadposition", UseArgs_true, Protected_true}, + {"keyCommandRandomWarp", + defaultAction(&Actions::commandRandomWarp), + InputCondition::INGAME, + "randomwarp|jump", + UseArgs_true, + Protected_true}, }; #undef defaultAction |