summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-24 17:14:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-24 17:14:07 +0300
commitf5651bc452096c8cd84d7c801228d64af3a165d2 (patch)
treeafc3a673675dbae99b30e5c61be6bf713cb70395 /src/input
parentc33d54dd45efd88f95014bd41813accb15e76f89 (diff)
downloadmanaverse-f5651bc452096c8cd84d7c801228d64af3a165d2.tar.gz
manaverse-f5651bc452096c8cd84d7c801228d64af3a165d2.tar.bz2
manaverse-f5651bc452096c8cd84d7c801228d64af3a165d2.tar.xz
manaverse-f5651bc452096c8cd84d7c801228d64af3a165d2.zip
Move chat command /unignore into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 1f59fc288..e5072eb1e 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -351,6 +351,7 @@ namespace InputAction
QUERY,
CLEAR_CHAT_TAB,
IGNORE,
+ UNIGNORE,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index fc0e26755..10668f463 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2928,6 +2928,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"ignore",
+ true},
+ {"keyUnignore",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::chatUnignore,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "unignore",
true}
};