summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 19:05:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 19:05:31 +0300
commit77392dfa39913e4d6c51934deab51088da878e7a (patch)
treea6f56d693f5847a22e1514d17f7752798b84597b /src/input/inputactionmap.h
parent4eb67aee829ba4f7b59d5a8f885a472d843e679a (diff)
downloadmanaverse-77392dfa39913e4d6c51934deab51088da878e7a.tar.gz
manaverse-77392dfa39913e4d6c51934deab51088da878e7a.tar.bz2
manaverse-77392dfa39913e4d6c51934deab51088da878e7a.tar.xz
manaverse-77392dfa39913e4d6c51934deab51088da878e7a.zip
Add chat command /randomwarp. Also add it to player context menu.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h6
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