diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-25 04:50:30 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-25 04:50:30 +0200 |
commit | 976536dca46613240b343ce65fe3f7ddac99b5aa (patch) | |
tree | fa5c38c1f4f4766b242c9be3f298638738254218 /src/gui/widgets/itemcontainer.h | |
parent | 4cd7505ed872a959a587f738c5b77a3c1585025f (diff) | |
download | plus-976536dca46613240b343ce65fe3f7ddac99b5aa.tar.gz plus-976536dca46613240b343ce65fe3f7ddac99b5aa.tar.bz2 plus-976536dca46613240b343ce65fe3f7ddac99b5aa.tar.xz plus-976536dca46613240b343ce65fe3f7ddac99b5aa.zip |
Fix possible invisible items in inventory.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index 003187859..171b6e9e7 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -124,6 +124,8 @@ class ItemContainer : public gcn::Widget, void setSortType (int sortType); + void updateMatrix(); + private: enum Direction { @@ -178,7 +180,6 @@ class ItemContainer : public gcn::Widget, */ int getSlotIndex(int x, int y) const; - void updateMatrix(); Inventory *mInventory; int mGridColumns, mGridRows; |