summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp6
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);