diff options
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index dcba43e1f..6ecbd6a9f 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1393,10 +1393,10 @@ void PopupMenu::handleLink(const std::string &link, { if (localPlayer != nullptr) { - const int num = atoi(link.substr(10).c_str()); const Guild *const guild = localPlayer->getGuild(); if (guild != nullptr) { + const int num = atoi(link.substr(10).c_str()); guildHandler->changeMemberPostion( guild->getMember(mName), num); } |