summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 15:00:31 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 15:00:31 +0300
commit332334a876da21687911c6d22cf4a5dcb2cb586a (patch)
treea139c3d8562d2c9ca73b3b5f6ba079034b4bb684 /src/resources/beinginfo.cpp
parent6e4517d3f46f11fc47b77e92bd2c439fdb5738b2 (diff)
downloadmv-332334a876da21687911c6d22cf4a5dcb2cb586a.tar.gz
mv-332334a876da21687911c6d22cf4a5dcb2cb586a.tar.bz2
mv-332334a876da21687911c6d22cf4a5dcb2cb586a.tar.xz
mv-332334a876da21687911c6d22cf4a5dcb2cb586a.zip
add pet offset if owner is moving.
New pet db attributes: moveOffsetX, moveOffsetY
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index 20a15429c..d79391ed9 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -66,6 +66,8 @@ BeingInfo::BeingInfo() :
mWalkSpeed(0),
mSitOffsetX(0),
mSitOffsetY(0),
+ mMoveOffsetX(0),
+ mMoveOffsetY(0),
mThinkTime(50),
mDirectionType(1),
mSitDirectionType(1),