summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp1
-rw-r--r--src/being/being.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 03e13156c..2e64a9cd9 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -205,6 +205,7 @@ Being::Being(const int id,
mUsageCounter(1),
mKarma(0),
mManner(0),
+ mAreaSize(11),
mLook(0U),
mHairColor(0),
mErased(false),
diff --git a/src/being/being.h b/src/being/being.h
index e11f36003..361277f27 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -908,6 +908,12 @@ class Being notfinal : public ActorSprite,
void enablePetAi()
{ mPetAi = true; }
+ int getAreaSize() const
+ { return mAreaSize; }
+
+ void setAreaSize(const int areaSize)
+ { mAreaSize = areaSize; }
+
protected:
/**
* Updates name's location.
@@ -1076,6 +1082,7 @@ class Being notfinal : public ActorSprite,
int mUsageCounter;
int mKarma;
int mManner;
+ int mAreaSize;
uint16_t mLook;
unsigned char mHairColor;
bool mErased;