diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-09 00:01:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-09 00:01:42 +0300 |
commit | 71e9f4e82e55836cc41760458edfb32d799b552a (patch) | |
tree | cc198b8c6705e6a129d0f89ad8a5607f98eebc4c /src/input | |
parent | ed5561b7965118fc11ae278e968c3de08eae98a7 (diff) | |
download | mv-71e9f4e82e55836cc41760458edfb32d799b552a.tar.gz mv-71e9f4e82e55836cc41760458edfb32d799b552a.tar.bz2 mv-71e9f4e82e55836cc41760458edfb32d799b552a.tar.xz mv-71e9f4e82e55836cc41760458edfb32d799b552a.zip |
Not allow use from npc scripts /debugspawn and /itenplz chat commands.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 4 |
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, |