diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-18 19:02:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-18 19:02:45 +0300 |
commit | f1812857720449697c9106a7a3776b7202258cb3 (patch) | |
tree | eb100f3d713c3faeebd057c6c3d572e17295d345 /src/gui/popups/popupmenu.h | |
parent | 33b6e130de855dd3a81e739168a668d898f78e9e (diff) | |
download | manaplus-f1812857720449697c9106a7a3776b7202258cb3.tar.gz manaplus-f1812857720449697c9106a7a3776b7202258cb3.tar.bz2 manaplus-f1812857720449697c9106a7a3776b7202258cb3.tar.xz manaplus-f1812857720449697c9106a7a3776b7202258cb3.zip |
Fix code style in beingequipbackend and add some consts to it.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r-- | src/gui/popups/popupmenu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index d37a29f56..0a83c5dd7 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -95,7 +95,7 @@ class PopupMenu final : public Popup, public LinkHandler */ void showPopup(Window *const parent, const int x, const int y, - Item *const item, + const Item *const item, const InventoryTypeT type); void showPopup(const int x, const int y, Button *const button); @@ -125,7 +125,7 @@ class PopupMenu final : public Popup, public LinkHandler void showUndressPopup(const int x, const int y, const Being *const being, - Item *const item); + const Item *const item); void showMapPopup(const int x, const int y, const int x2, const int y2, @@ -209,7 +209,7 @@ class PopupMenu final : public Popup, public LinkHandler BeingId mBeingId; BeingId mFloorItemId; - Item *mItem; + const Item *mItem; int mItemId; ItemColor mItemColor; MapItem *mMapItem; |