summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 15:41:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 15:41:34 +0300
commit62879acf891f1939e16fa32d2426b56f08f1609b (patch)
tree4ac1e15f9b386478af79be32a3a3b7f7093a8585 /src/resources/beinginfo.h
parent94342625a7e97c1f4adda6f0788c85c8d112b3a5 (diff)
downloadmanaverse-62879acf891f1939e16fa32d2426b56f08f1609b.tar.gz
manaverse-62879acf891f1939e16fa32d2426b56f08f1609b.tar.bz2
manaverse-62879acf891f1939e16fa32d2426b56f08f1609b.tar.xz
manaverse-62879acf891f1939e16fa32d2426b56f08f1609b.zip
add pet direction type if owner dead.
New pet db attribute: deadDirectionType
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h7
1 files changed, 7 insertions, 0 deletions
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;
};