summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 18:37:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 18:37:52 +0300
commit86c02e2712e2177ae6a41bbfa66e6284d6ff9b15 (patch)
treeee2bfa8e5d4d37c64516b822650000c5f3c1be9f /src/gui/popups/popupmenu.cpp
parent03eb816ad582e712f05696e65a3d443fcf181222 (diff)
downloadmv-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.tar.gz
mv-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.tar.bz2
mv-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.tar.xz
mv-86c02e2712e2177ae6a41bbfa66e6284d6ff9b15.zip
Add chat command /loadposition. Also add it to player context menu.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp5
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