From 62879acf891f1939e16fa32d2426b56f08f1609b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Dec 2013 15:41:34 +0300 Subject: add pet direction type if owner dead. New pet db attribute: deadDirectionType --- src/resources/beinginfo.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/resources/beinginfo.h') diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index f59dbe4d1..894920c10 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -302,6 +302,12 @@ class BeingInfo final int getSitDirectionType() const A_WARN_UNUSED { return mSitDirectionType; } + void setDeadDirectionType(const int n) + { mDeadDirectionType = n; } + + int getDeadDirectionType() const A_WARN_UNUSED + { return mDeadDirectionType; } + void setColorsList(const std::string &name); std::string getColor(const int idx) const A_WARN_UNUSED; @@ -345,6 +351,7 @@ class BeingInfo final int mThinkTime; int mDirectionType; int mSitDirectionType; + int mDeadDirectionType; bool mStaticMaxHP; bool mTargetSelection; }; -- cgit v1.2.3-60-g2f50