summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-05 17:03:13 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-05 17:03:13 +0300
commitc4274b8b5798ffaee2a783f7a1f10e6f80c93f9e (patch)
tree00d0f73dd35e77fdfc81dae1b7124cefcc6f8364 /src/gui/popups/popupmenu.h
parentb7400ada5bff3345196a468fc45ac74a6b3775f6 (diff)
downloadmv-c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e.tar.gz
mv-c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e.tar.bz2
mv-c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e.tar.xz
mv-c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e.zip
Remove item object from popup menu, but use item index in inventory.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index a19621c50..5c68254ac 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -213,8 +213,8 @@ class PopupMenu final : public Popup, public LinkHandler
BeingId mBeingId;
BeingId mFloorItemId;
- const Item *mItem;
int mItemId;
+ int mItemIndex;
ItemColor mItemColor;
MapItem *mMapItem;
ChatTab *mTab;