From 7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Jul 2014 19:13:27 +0300 Subject: Move reset yellow bar into gamemmodifiers. --- src/gui/popups/popupmenu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui') 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()) { -- cgit v1.2.3-70-g09d2