diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-14 21:41:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-14 21:41:38 +0300 |
commit | 1884c7ebfce2f9a2723da41be09cde5e7e14938e (patch) | |
tree | bd0ca87ffdacdb97af37eaf2fcdd835f7ebe877e /src/flooritem.h | |
parent | 91a0b8f7e497be66225e0e24679bb515daefe7cf (diff) | |
download | manaverse-1884c7ebfce2f9a2723da41be09cde5e7e14938e.tar.gz manaverse-1884c7ebfce2f9a2723da41be09cde5e7e14938e.tar.bz2 manaverse-1884c7ebfce2f9a2723da41be09cde5e7e14938e.tar.xz manaverse-1884c7ebfce2f9a2723da41be09cde5e7e14938e.zip |
Stop protected pickups flood.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r-- | src/flooritem.h | 7 |
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 |