summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-09 00:01:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-09 00:01:42 +0300
commit71e9f4e82e55836cc41760458edfb32d799b552a (patch)
treecc198b8c6705e6a129d0f89ad8a5607f98eebc4c /src/input
parented5561b7965118fc11ae278e968c3de08eae98a7 (diff)
downloadplus-71e9f4e82e55836cc41760458edfb32d799b552a.tar.gz
plus-71e9f4e82e55836cc41760458edfb32d799b552a.tar.bz2
plus-71e9f4e82e55836cc41760458edfb32d799b552a.tar.xz
plus-71e9f4e82e55836cc41760458edfb32d799b552a.zip
Not allow use from npc scripts /debugspawn and /itenplz chat commands.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 02ee3af8e..2a12b5765 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2429,7 +2429,7 @@ static const InputActionData inputActionData
InputCondition::GAME | InputCondition::VALIDSPEED,
"itenplz",
UseArgs_false,
- Protected_false},
+ Protected_true},
{"keyMagicAttack",
addKey(SDLK_b),
emptyKey,
@@ -3609,7 +3609,7 @@ static const InputActionData inputActionData
InputCondition::INGAME,
"debugspawn",
UseArgs_true,
- Protected_false},
+ Protected_true},
{"keyPetSmilie",
defaultAction(nullptr),
InputCondition::DEFAULT | InputCondition::INGAME,