diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-05 17:03:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-05 17:03:13 +0300 |
commit | c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e (patch) | |
tree | 00d0f73dd35e77fdfc81dae1b7124cefcc6f8364 /src/gui/popups/popupmenu.h | |
parent | b7400ada5bff3345196a468fc45ac74a6b3775f6 (diff) | |
download | manaplus-c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e.tar.gz manaplus-c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e.tar.bz2 manaplus-c4274b8b5798ffaee2a783f7a1f10e6f80c93f9e.tar.xz manaplus-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.h | 2 |
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; |