diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 17:07:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 17:07:33 +0300 |
commit | 2cfa0d17583869b7a2fb6e558b160e46389f5599 (patch) | |
tree | f47e37d1c955365f9173ab53a1e9602e29903096 /src/being/being.h | |
parent | 4e7669dd6e07658fa86878d1e64c482a094b3b19 (diff) | |
download | plus-2cfa0d17583869b7a2fb6e558b160e46389f5599.tar.gz plus-2cfa0d17583869b7a2fb6e558b160e46389f5599.tar.bz2 plus-2cfa0d17583869b7a2fb6e558b160e46389f5599.tar.xz plus-2cfa0d17583869b7a2fb6e558b160e46389f5599.zip |
Impliment actual move actions from pet commands.
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 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; |