diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-25 19:13:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-25 19:13:27 +0300 |
commit | 7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95 (patch) | |
tree | 16e2456b0eda0e4dd81863374206038c6eb4e26f /src/gui/popups | |
parent | d4e289e6bed3cff65e106fc6ed5aabfedb4e7da8 (diff) | |
download | plus-7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95.tar.gz plus-7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95.tar.bz2 plus-7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95.tar.xz plus-7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95.zip |
Move reset yellow bar into gamemmodifiers.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 687aa38cf..1712ce34b 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -28,6 +28,7 @@ #include "configuration.h" #include "dropshortcut.h" #include "game.h" +#include "gamemodifiers.h" #include "guild.h" #include "guildmanager.h" #include "item.h" @@ -1721,8 +1722,8 @@ void PopupMenu::handleLink(const std::string &link, } else if (link == "reset yellow") { - if (player_node) - player_node->resetYellowBar(); + if (modifiers) + modifiers->resetModifiers(); } else if (link == "bar to chat" && !mNick.empty()) { |