diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-01 00:59:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-01 00:59:11 +0300 |
commit | eb694307c2b73e64f208c0d37d4c79207018d07a (patch) | |
tree | 7c8e33af2710b21e57639bb3b3f166c360a0c05f /src/input/inputactionmap.h | |
parent | 4eeaa9b0aba548f8f4bd66c6f414884b8462a636 (diff) | |
download | manaplus-eb694307c2b73e64f208c0d37d4c79207018d07a.tar.gz manaplus-eb694307c2b73e64f208c0d37d4c79207018d07a.tar.bz2 manaplus-eb694307c2b73e64f208c0d37d4c79207018d07a.tar.xz manaplus-eb694307c2b73e64f208c0d37d4c79207018d07a.zip |
Add chat command to set config variables.
New chat command: /confset varname value
Alias: /setconf varname value
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index edd75851a..0aa8adea1 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4469,6 +4469,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::GAME | InputCondition::NOTARGET, "mailwindow|mail", false}, + {"keyConfSet", + defaultAction(&Actions::confSet), + InputCondition::INGAME, + "confset|setconf", + true}, }; #undef defaultAction |