summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-17 19:04:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-17 19:19:58 +0300
commitae651b87a1db4131733eaccc5736a287a06a0e6b (patch)
treea8ace476dd6daaf037692825120cb07714b0689f /src/gui/popups/popupmenu.h
parent55cbf74cbe2c40b4592e72621e40f8858fc376d9 (diff)
downloadplus-ae651b87a1db4131733eaccc5736a287a06a0e6b.tar.gz
plus-ae651b87a1db4131733eaccc5736a287a06a0e6b.tar.bz2
plus-ae651b87a1db4131733eaccc5736a287a06a0e6b.tar.xz
plus-ae651b87a1db4131733eaccc5736a287a06a0e6b.zip
Add support for add from context menu into chat item links with cards.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index 5c68254ac..798a4359a 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -25,6 +25,8 @@
#ifndef DYECMD
+#include "const/resources/item/cards.h"
+
#include "enums/inventorytype.h"
#include "enums/simpletypes/beingid.h"
@@ -215,6 +217,7 @@ class PopupMenu final : public Popup, public LinkHandler
BeingId mFloorItemId;
int mItemId;
int mItemIndex;
+ int mItemCards[maxCards];
ItemColor mItemColor;
MapItem *mMapItem;
ChatTab *mTab;