summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp5
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())
{