diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-22 20:17:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-22 20:17:58 +0300 |
commit | 5b0a3c0b6ab7aa82a1ffcec4ec48a0540f8d4108 (patch) | |
tree | 7f11d2461f672e6fd414946d359babdc13e323b6 /src/gui/popups | |
parent | c860fb83abb48b98f98e20fc19ac1591d03b61d1 (diff) | |
download | manaplus-5b0a3c0b6ab7aa82a1ffcec4ec48a0540f8d4108.tar.gz manaplus-5b0a3c0b6ab7aa82a1ffcec4ec48a0540f8d4108.tar.bz2 manaplus-5b0a3c0b6ab7aa82a1ffcec4ec48a0540f8d4108.tar.xz manaplus-5b0a3c0b6ab7aa82a1ffcec4ec48a0540f8d4108.zip |
Fix /buy and /sell commands for players outside of visible range.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index bccec33af..bc9b4d232 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1583,6 +1583,7 @@ void PopupMenu::handleLink(const std::string &link, replaceAll(cmd, "'MAPY'", toString(mY)); } + logger->log("cmd: " + cmd); const size_t pos = cmd.find(' '); const std::string type(cmd, 0, pos); std::string args(cmd, pos == std::string::npos ? cmd.size() : pos + 1); |