diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-24 01:53:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-24 01:53:38 +0300 |
commit | 2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2 (patch) | |
tree | 383e56eb9194661c86aa6b220d069f1afacf0c79 /src/being/being.h | |
parent | 6a67f52f6b82bb8c6259eb0b9282ab543347b9ee (diff) | |
download | manaplus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.tar.gz manaplus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.tar.bz2 manaplus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.tar.xz manaplus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.zip |
Remove some more local pet related code.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/being/being.h b/src/being/being.h index 7a52df675..1f34d6f9b 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -895,20 +895,12 @@ class Being notfinal : public ActorSprite, void fixPetSpawnPos(int &restrict dstX, int &restrict dstY) const restrict2; - const std::vector<Being*> &getPets() const restrict2 noexcept2 - { return mPets; } - - Being *getFirstPet() restrict2 - { return mPets.empty() ? nullptr : mPets[0]; } - void setOwner(Being *restrict const owner) restrict2 noexcept2 { mOwner = owner; } Being *getOwner() const restrict2 noexcept2 { return mOwner; } - Being *findChildPet(const BeingId id) restrict2; - void playSfx(const SoundInfo &sound, Being *restrict const being, const bool main, @@ -1231,7 +1223,6 @@ class Being notfinal : public ActorSprite, std::string mComment; std::string mBuyBoard; std::string mSellBoard; - std::vector<Being*> mPets; Being *restrict mOwner; Particle *restrict mSpecialParticle; ChatObject *restrict mChat; |