diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 18:37:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 18:37:52 +0300 |
commit | 86c02e2712e2177ae6a41bbfa66e6284d6ff9b15 (patch) | |
tree | ee2bfa8e5d4d37c64516b822650000c5f3c1be9f /src/gui/popups | |
parent | 03eb816ad582e712f05696e65a3d443fcf181222 (diff) | |
download | manaverse-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.tar.gz manaverse-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.tar.bz2 manaverse-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.tar.xz manaverse-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.zip |
Add chat command /loadposition. Also add it to player context menu.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index cdcbf836a..763bdd771 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2737,7 +2737,10 @@ void PopupMenu::showPlayerGMCommands() } // TRANSLATORS: popup menu item // TRANSLATORS: set player save position - mBrowserBox->addRow("/savepos", _("Set save position")); + mBrowserBox->addRow("/savepos 'NAME'", _("Set save position")); + // TRANSLATORS: popup menu item + // TRANSLATORS: warp player to save position + mBrowserBox->addRow("/loadpos 'NAME'", _("Warp to save position")); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: spawn player clone |