summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 18:59:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 18:59:40 +0300
commitdd287e360612b175dcb2e118ed20c47902d7e630 (patch)
treee98880fb39aa943f33e56e80f16a559aacc53fd1 /src/input/inputactionmap.h
parentb753348ab7153282e6cf539c627dfd1fb9896c42 (diff)
downloadplus-dd287e360612b175dcb2e118ed20c47902d7e630.tar.gz
plus-dd287e360612b175dcb2e118ed20c47902d7e630.tar.bz2
plus-dd287e360612b175dcb2e118ed20c47902d7e630.tar.xz
plus-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.h8
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