diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 00:53:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 00:53:34 +0300 |
commit | 14800b09f0cc47ab4452039c45ba99295a40e2d8 (patch) | |
tree | 1e5ff4911580cd509d9f21bf8f8ff942302e3a81 /src/input/inputactionmap.h | |
parent | d0967473d6f1e356592e8adbe46fcbbe04c60393 (diff) | |
download | manaplus-14800b09f0cc47ab4452039c45ba99295a40e2d8.tar.gz manaplus-14800b09f0cc47ab4452039c45ba99295a40e2d8.tar.bz2 manaplus-14800b09f0cc47ab4452039c45ba99295a40e2d8.tar.xz manaplus-14800b09f0cc47ab4452039c45ba99295a40e2d8.zip |
Add chat command /saveposition. Also add it to player context menu.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 4faadd258..be335c9fb 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5359,6 +5359,12 @@ static const InputActionData inputActionData "spawnevilclone|playerevilclone|evilclone", UseArgs_true, Protected_true}, + {"keyCommandSavePosition", + defaultAction(&Actions::commandSavePosition), + InputCondition::INGAME, + "savepos|saveposition", + UseArgs_true, + Protected_true}, }; #undef defaultAction |