diff options
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index d920d63ac..ae57b4d6d 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -50,6 +50,7 @@ #include "net/charserverhandler.h" #include "net/packetlimiter.h" #include "net/playerhandler.h" +#include "net/serverfeatures.h" #include "resources/iteminfo.h" @@ -253,6 +254,11 @@ Being *ActorManager::createBeing(const int id, if (localPlayer) localPlayer->checkNewName(being); } + else if (type == ActorType::Monster) + { + if (serverFeatures->haveMonsterName()) + beingHandler->requestNameById(id); + } else if (type == ActorType::Portal) { beingHandler->requestNameById(id); |