summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcselldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcselldialog.cpp')
-rw-r--r--src/gui/windows/npcselldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcselldialog.cpp b/src/gui/windows/npcselldialog.cpp
index 6822c3ed6..453126382 100644
--- a/src/gui/windows/npcselldialog.cpp
+++ b/src/gui/windows/npcselldialog.cpp
@@ -56,7 +56,7 @@ void NpcSellDialog::sellAction(const ActionEvent &event)
{
const std::string &eventId = event.getId();
const int selectedItem = mShopItemList->getSelected();
- ShopItem *const item = mShopItems->at(selectedItem);
+ const ShopItem *const item = mShopItems->at(selectedItem);
if (!item || PlayerInfo::isItemProtected(item->getId()))
return;