summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-14 21:41:38 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-14 21:41:38 +0300
commit1884c7ebfce2f9a2723da41be09cde5e7e14938e (patch)
treebd0ca87ffdacdb97af37eaf2fcdd835f7ebe877e /src/flooritem.h
parent91a0b8f7e497be66225e0e24679bb515daefe7cf (diff)
downloadplus-1884c7ebfce2f9a2723da41be09cde5e7e14938e.tar.gz
plus-1884c7ebfce2f9a2723da41be09cde5e7e14938e.tar.bz2
plus-1884c7ebfce2f9a2723da41be09cde5e7e14938e.tar.xz
plus-1884c7ebfce2f9a2723da41be09cde5e7e14938e.zip
Stop protected pickups flood.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/flooritem.h b/src/flooritem.h
index 3e2f8ef47..dd1db1b35 100644
--- a/src/flooritem.h
+++ b/src/flooritem.h
@@ -83,6 +83,12 @@ class FloorItem : public ActorSprite
unsigned char getColor() const
{ return mColor; }
+ bool getShowMsg()
+ { return mShowMsg; }
+
+ void setShowMsg(bool n)
+ { mShowMsg = n; }
+
private:
int mItemId;
int mX, mY;
@@ -93,6 +99,7 @@ class FloorItem : public ActorSprite
int mAmount;
unsigned mPickupCount;
unsigned char mColor;
+ bool mShowMsg;
};
#endif