summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 0f30fa215..18f9ff211 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -245,7 +245,10 @@ Being *ActorManager::createBeing(const int id,
Being *const being = new Being(id, type, subtype, mMap);
mActors.insert(being);
- if (type == ActorType::Player || type == ActorType::Npc)
+ if (type == ActorType::Player
+ || type == ActorType::Npc
+ || type == ActorType::Mercenary
+ || type == ActorType::Pet)
{
being->updateFromCache();
beingHandler->requestNameById(id);