summaryrefslogtreecommitdiff
path: root/src/gui/windows/buyingstoreselldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:35 +0300
commit3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (patch)
tree2053748aba4fd1e01020effe9322757426354d28 /src/gui/windows/buyingstoreselldialog.cpp
parent2577a25f8a4acf587526809fda2ded95875e1222 (diff)
downloadmanaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.gz
manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.bz2
manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.xz
manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.zip
Add missing const in gui directory.
Diffstat (limited to 'src/gui/windows/buyingstoreselldialog.cpp')
-rw-r--r--src/gui/windows/buyingstoreselldialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/buyingstoreselldialog.cpp b/src/gui/windows/buyingstoreselldialog.cpp
index 205734248..7cb6f975a 100644
--- a/src/gui/windows/buyingstoreselldialog.cpp
+++ b/src/gui/windows/buyingstoreselldialog.cpp
@@ -52,13 +52,13 @@ void BuyingStoreSellDialog::sellAction(const ActionEvent &event A_UNUSED)
return;
const int selectedItem = mShopItemList->getSelected();
- ShopItem *const item1 = mShopItems->at(selectedItem);
+ const ShopItem *const item1 = mShopItems->at(selectedItem);
if (!item1 || PlayerInfo::isItemProtected(item1->getId()))
return;
- Being *const being = actorManager->findBeing(mAccountId);
+ const Being *const being = actorManager->findBeing(mAccountId);
if (!being)
return;
- Item *const item2 = PlayerInfo::getInventory()->findItem(
+ const Item *const item2 = PlayerInfo::getInventory()->findItem(
item1->getId(),
item1->getColor());
if (!item2)