diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:38:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:38:11 +0300 |
commit | 69022cd939e572feadaadf1041ae7dadad782ed6 (patch) | |
tree | f834f3c8ccbcceec55bc7950cd1f6d9bf877e77e /src/being/being.cpp | |
parent | fe921bd36d4b2ac70ac6c815c166ec8fd9a210aa (diff) | |
download | manaplus-69022cd939e572feadaadf1041ae7dadad782ed6.tar.gz manaplus-69022cd939e572feadaadf1041ae7dadad782ed6.tar.bz2 manaplus-69022cd939e572feadaadf1041ae7dadad782ed6.tar.xz manaplus-69022cd939e572feadaadf1041ae7dadad782ed6.zip |
Rename PET type into LOCAL_PET.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 8baab8a44..b69ceaa4a 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -314,7 +314,7 @@ void Being::setSubtype(const uint16_t subtype, const uint8_t look) if (mInfo) setupSpriteDisplay(mInfo->getDisplay(), false); } - else if (mType == ActorType::PET) + else if (mType == ActorType::LOCAL_PET) { mInfo = PETDB::get(mId); if (mInfo) @@ -2915,7 +2915,7 @@ std::string Being::loadComment(const std::string &name, case ActorType::MONSTER: case ActorType::FLOOR_ITEM: case ActorType::PORTAL: - case ActorType::PET: + case ActorType::LOCAL_PET: case ActorType::AVATAR: default: return ""; @@ -3134,7 +3134,7 @@ void Being::addPet(const int id) } Being *const being = actorManager->createBeing( - id, ActorType::PET, 0); + id, ActorType::LOCAL_PET, 0); if (being) { being->setOwner(this); |