diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-20 23:48:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-20 23:48:46 +0300 |
commit | 68581ace3255ea4d8b0f0e5b33a33633a27b8e42 (patch) | |
tree | 498fbea8f60078e71b60cfb2dfec012563ca7aad /src/being | |
parent | 7a618aa66e0b5b7df3bccd1bf1df908f1b421629 (diff) | |
download | manaplus-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.tar.gz manaplus-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.tar.bz2 manaplus-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.tar.xz manaplus-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.zip |
eathena: add packet SMSG_NPC_AREA 0x0b0b
Change protocol version to 5.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 1 | ||||
-rw-r--r-- | src/being/being.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 03e13156c..2e64a9cd9 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -205,6 +205,7 @@ Being::Being(const int id, mUsageCounter(1), mKarma(0), mManner(0), + mAreaSize(11), mLook(0U), mHairColor(0), mErased(false), diff --git a/src/being/being.h b/src/being/being.h index e11f36003..361277f27 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -908,6 +908,12 @@ class Being notfinal : public ActorSprite, void enablePetAi() { mPetAi = true; } + int getAreaSize() const + { return mAreaSize; } + + void setAreaSize(const int areaSize) + { mAreaSize = areaSize; } + protected: /** * Updates name's location. @@ -1076,6 +1082,7 @@ class Being notfinal : public ActorSprite, int mUsageCounter; int mKarma; int mManner; + int mAreaSize; uint16_t mLook; unsigned char mHairColor; bool mErased; |