summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 18:13:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 18:13:26 +0300
commit013e03f7a62c40554d0ed00c30375155557a1318 (patch)
treea3dd2140baafa761f122352b9a4b0ab2e041f783 /src/actormanager.cpp
parentbfa0ffd5db38174555992c4a21274be41aad753f (diff)
downloadplus-013e03f7a62c40554d0ed00c30375155557a1318.tar.gz
plus-013e03f7a62c40554d0ed00c30375155557a1318.tar.bz2
plus-013e03f7a62c40554d0ed00c30375155557a1318.tar.xz
plus-013e03f7a62c40554d0ed00c30375155557a1318.zip
Remove ServerFeatures haveMonsterName because it depend only on server type.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 13cbeb286..114e2acd5 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -297,8 +297,12 @@ Being *ActorManager::createBeing(const BeingId id,
localPlayer->checkNewName(being);
break;
case ActorType::Monster:
- if (serverFeatures && serverFeatures->haveMonsterName())
+#ifdef TMWA_SUPPORT
+ if (Net::getNetworkType() == ServerType::EATHENA)
+#endif // TMWA_SUPPORT
+ {
beingHandler->requestNameById(id);
+ }
break;
case ActorType::Portal:
if (beingHandler &&