From 2cfa0d17583869b7a2fb6e558b160e46389f5599 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Dec 2014 17:07:33 +0300 Subject: Impliment actual move actions from pet commands. --- src/being/being.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/being/being.h') 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 beingInfoCache; -- cgit v1.2.3-60-g2f50