summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-22 01:43:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-22 01:43:47 +0300
commit3da7f49e31f018047d6ed5869b5f4cebb9b29717 (patch)
treeab4cfb7685eea64657c13295d6554c322404de71 /src/input/inputactionmap.h
parentfa923f929b3f52a18273b5831425b2e3db08e583 (diff)
downloadmv-3da7f49e31f018047d6ed5869b5f4cebb9b29717.tar.gz
mv-3da7f49e31f018047d6ed5869b5f4cebb9b29717.tar.bz2
mv-3da7f49e31f018047d6ed5869b5f4cebb9b29717.tar.xz
mv-3da7f49e31f018047d6ed5869b5f4cebb9b29717.zip
Add chat command for move pet to give position.
New chat command: /movepet x,y Alias: /petmove x,y
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 57cd4d7fe..0c37a2936 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3979,6 +3979,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::GAME | InputCondition::VALIDSPEED,
"healmd|saveass",
false},
+ {"keyPetMove",
+ defaultAction(&Actions::petMove),
+ InputCondition::INGAME,
+ "movepet|petmove",
+ true},
};
#undef defaultAction