summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index a194bac72..119bcc637 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -920,6 +920,12 @@ class Being notfinal : public ActorSprite,
int getManner() const
{ return mManner; }
+ void disablePetAi()
+ { mPetAi = false; }
+
+ void enablePetAi()
+ { mPetAi = true; }
+
protected:
/**
* Updates name's location.
@@ -1098,6 +1104,7 @@ class Being notfinal : public ActorSprite,
bool mAway;
bool mInactive;
bool mNeedPosUpdate;
+ bool mPetAi;
};
extern std::list<BeingCacheEntry*> beingInfoCache;