summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:29:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:29:18 +0300
commit17a96c972cd483fa556a79c4cd60e5d7490177a4 (patch)
treefc745dec71523b49428838582a5aa40712538140 /src/input/inputactionmap.h
parentc06c787acceec22845f023b2f849858d36af6585 (diff)
downloadmanaplus-17a96c972cd483fa556a79c4cd60e5d7490177a4.tar.gz
manaplus-17a96c972cd483fa556a79c4cd60e5d7490177a4.tar.bz2
manaplus-17a96c972cd483fa556a79c4cd60e5d7490177a4.tar.xz
manaplus-17a96c972cd483fa556a79c4cd60e5d7490177a4.zip
Move chat command /uptime into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 7a7b148cd..ce06d13fe 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3261,7 +3261,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"wait",
- true}
+ true},
+ {"keyUptime",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::uptime,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "uptime",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H