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 | |
parent | b753348ab7153282e6cf539c627dfd1fb9896c42 (diff) | |
download | manaplus-dd287e360612b175dcb2e118ed20c47902d7e630.tar.gz manaplus-dd287e360612b175dcb2e118ed20c47902d7e630.tar.bz2 manaplus-dd287e360612b175dcb2e118ed20c47902d7e630.tar.xz manaplus-dd287e360612b175dcb2e118ed20c47902d7e630.zip |
Add chat command slide.
New chat command: slide x, y
Diffstat (limited to 'src/input')
-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 |