summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 15:07:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 15:07:43 +0300
commit94342625a7e97c1f4adda6f0788c85c8d112b3a5 (patch)
tree2f90c467e7fc598054a3ebc5b727a8ac21041e02 /src/resources/beinginfo.h
parent332334a876da21687911c6d22cf4a5dcb2cb586a (diff)
downloadManaVerse-94342625a7e97c1f4adda6f0788c85c8d112b3a5.tar.gz
ManaVerse-94342625a7e97c1f4adda6f0788c85c8d112b3a5.tar.bz2
ManaVerse-94342625a7e97c1f4adda6f0788c85c8d112b3a5.tar.xz
ManaVerse-94342625a7e97c1f4adda6f0788c85c8d112b3a5.zip
add pet offset if owner is dead.
New pet db attributes: deadOffsetX, deadOffsetY
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index 85d4af20b..f59dbe4d1 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -272,6 +272,18 @@ class BeingInfo final
int getMoveOffsetY() const A_WARN_UNUSED
{ return mMoveOffsetY; }
+ void setDeadOffsetX(const int n)
+ { mDeadOffsetX = n; }
+
+ int getDeadOffsetX() const A_WARN_UNUSED
+ { return mDeadOffsetX; }
+
+ void setDeadOffsetY(const int n)
+ { mDeadOffsetY = n; }
+
+ int getDeadOffsetY() const A_WARN_UNUSED
+ { return mDeadOffsetY; }
+
void setThinkTime(const int n)
{ mThinkTime = n; }
@@ -328,6 +340,8 @@ class BeingInfo final
int mSitOffsetY;
int mMoveOffsetX;
int mMoveOffsetY;
+ int mDeadOffsetX;
+ int mDeadOffsetY;
int mThinkTime;
int mDirectionType;
int mSitDirectionType;