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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index f151eae01..ce96d2abd 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2271,7 +2271,8 @@ void PopupMenu::showAttackMonsterPopup(const int x, const int y,
showPopup(x, y);
}
-void PopupMenu::showPickupItemPopup(const int x, const int y, std::string name)
+void PopupMenu::showPickupItemPopup(const int x, const int y,
+ const std::string &name)
{
if (!player_node || !actorSpriteManager)
return;