summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 15:21:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 15:21:32 +0300
commit9de5536077107f36185c1132cd0cbcdbeefffabb (patch)
tree085c92fba0a9d835096ba4c736caf1cb4c9d01ee /src/input
parentfbf45af162f9a2eecd3c27c8729bd9c811dbe793 (diff)
downloadplus-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.gz
plus-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.bz2
plus-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.xz
plus-9de5536077107f36185c1132cd0cbcdbeefffabb.zip
Move chat command /disablehightlight into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 09f753117..510e42793 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -409,6 +409,7 @@ namespace InputAction
EXECUTE,
TEST_SDL_FONT,
ENABLE_HIGHLIGHT,
+ DISABLE_HIGHLIGHT,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 4a7f76c6b..d395d83b0 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3458,7 +3458,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"enablehighlight",
- true}
+ false},
+ {"keyDisableHightlight",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::disableHighlight,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "disablehighlight",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H