summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-25 02:06:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-25 02:10:11 +0300
commit219424dc0e194a722bc93ba51b973fda8715869f (patch)
treebe1586057d67bb329edad911a386d4945cba4882 /src/being/being.h
parent2d4c4cb494842daa6b3865bc2729782098e367d8 (diff)
downloadManaVerse-219424dc0e194a722bc93ba51b973fda8715869f.tar.gz
ManaVerse-219424dc0e194a722bc93ba51b973fda8715869f.tar.bz2
ManaVerse-219424dc0e194a722bc93ba51b973fda8715869f.tar.xz
ManaVerse-219424dc0e194a722bc93ba51b973fda8715869f.zip
add pet spawn offset in tiles from owner position.
New pet db attributes: offsetX, offsetY Offset counted from player direction.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 6722e5d4c..e8bc7da37 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -881,6 +881,8 @@ class Being : public ActorSprite, public ConfigListener
void updatePets();
+ void fixPetSpawnPos(int &dstX, int &dstY) const;
+
Being *getPet()
{ return mPet; }