diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 19:05:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 19:05:31 +0300 |
commit | 77392dfa39913e4d6c51934deab51088da878e7a (patch) | |
tree | a6f56d693f5847a22e1514d17f7752798b84597b /src/gui/popups | |
parent | 4eb67aee829ba4f7b59d5a8f885a472d843e679a (diff) | |
download | plus-77392dfa39913e4d6c51934deab51088da878e7a.tar.gz plus-77392dfa39913e4d6c51934deab51088da878e7a.tar.bz2 plus-77392dfa39913e4d6c51934deab51088da878e7a.tar.xz plus-77392dfa39913e4d6c51934deab51088da878e7a.zip |
Add chat command /randomwarp. Also add it to player context menu.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index f691e4ea5..903720de4 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2747,10 +2747,13 @@ void PopupMenu::showPlayerGMCommands() { // TRANSLATORS: popup menu item // TRANSLATORS: set player save position - mBrowserBox->addRow("/savepos 'NAME'", _("Set save position")); + mBrowserBox->addRow("/savepos 'NAME'", _("Set save")); // TRANSLATORS: popup menu item // TRANSLATORS: warp player to save position - mBrowserBox->addRow("/loadpos 'NAME'", _("Warp to save position")); + mBrowserBox->addRow("/loadpos 'NAME'", _("Warp to save")); + // TRANSLATORS: popup menu item + // TRANSLATORS: warp player to random position on same map + mBrowserBox->addRow("/randomwarp 'NAME'", _("Warp to random")); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: spawn player clone |