diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-16 18:59:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-16 18:59:40 +0300 |
commit | dd287e360612b175dcb2e118ed20c47902d7e630 (patch) | |
tree | e98880fb39aa943f33e56e80f16a559aacc53fd1 /src/input/inputactionmap.h | |
parent | b753348ab7153282e6cf539c627dfd1fb9896c42 (diff) | |
download | mv-dd287e360612b175dcb2e118ed20c47902d7e630.tar.gz mv-dd287e360612b175dcb2e118ed20c47902d7e630.tar.bz2 mv-dd287e360612b175dcb2e118ed20c47902d7e630.tar.xz mv-dd287e360612b175dcb2e118ed20c47902d7e630.zip |
Add chat command slide.
New chat command: slide x, y
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 5d6fdc702..703913227 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5060,13 +5060,19 @@ static const InputActionData inputActionData | InputCondition::EMODS, "", UseArgs_false, - Protected_false}, + Protected_true}, {"keyTestInfo", defaultAction(&Actions::testInfo), InputCondition::INGAME, "testinfo", UseArgs_false, Protected_false}, + {"keySlide", + defaultAction(&Actions::slide), + InputCondition::INGAME, + "slide", + UseArgs_true, + Protected_false}, }; #undef defaultAction |