diff options
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h index a93d0e3db..56319c352 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -924,6 +924,12 @@ class Being : public ActorSprite, public ConfigListener void recreateItemParticles(); + void incUsage() + { mUsageCounter ++; } + + int decUsage() + { return --mUsageCounter; } + protected: /** * Updates name's location. @@ -1084,6 +1090,7 @@ class Being : public ActorSprite, public ConfigListener unsigned int mNumber; int mPetId; int mLook; + int mUsageCounter; unsigned char mHairColor; bool mErased; bool mEnemy; |