summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 11:58:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 11:58:28 +0300
commitae4062ed3c48706127c32efbc70cca0cc5ce19f8 (patch)
treeba2576179837ca60fe4340e55aef627b9df84405 /src/input
parent2018073c8ec531d936321f2e6561b68d386f36a5 (diff)
downloadmanaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.gz
manaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.bz2
manaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.xz
manaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.zip
Move chat command /navigate 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 55310593a..7a9dcaecf 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -376,6 +376,7 @@ namespace InputAction
AWAY_MESSAGE,
PSEUDO_AWAY,
FOLLOW,
+ NAVIGATE,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 533771384..ca359804b 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3153,6 +3153,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"follow",
+ true},
+ {"keyNavigate",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::navigate,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "navigate",
true}
};