summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 20:04:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit41d3b2bdf3af75720b5a4463be0ba6d234c61261 (patch)
tree561316ef10355faaa854bd5f5fad9646901bbaed /src/gui/popups/popupmenu.cpp
parent9c847001516949e21a522ae53a0e07c556b4116d (diff)
downloadplus-41d3b2bdf3af75720b5a4463be0ba6d234c61261.tar.gz
plus-41d3b2bdf3af75720b5a4463be0ba6d234c61261.tar.bz2
plus-41d3b2bdf3af75720b5a4463be0ba6d234c61261.tar.xz
plus-41d3b2bdf3af75720b5a4463be0ba6d234c61261.zip
fix const in definition in popupmenu.
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;