summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-25 17:13:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-25 17:13:24 +0300
commit8357e89fc0923f4b97cf8b990a4ffba2716bfabf (patch)
tree9253ddf8d30e97a947683e12dc195f3ec69ee7bc /src/resources/beinginfo.cpp
parent63446aa820db2a6ad83cb25c64a013e9e1418bd5 (diff)
downloadplus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.tar.gz
plus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.tar.bz2
plus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.tar.xz
plus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.zip
add support for pet sit direction logic.
New pet db attribute: sitDirectionType It can be set same values like in directionType.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index fc23bf231..20a15429c 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -66,6 +66,9 @@ BeingInfo::BeingInfo() :
mWalkSpeed(0),
mSitOffsetX(0),
mSitOffsetY(0),
+ mThinkTime(50),
+ mDirectionType(1),
+ mSitDirectionType(1),
mStaticMaxHP(false),
mTargetSelection(true)
{