From 013e03f7a62c40554d0ed00c30375155557a1318 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 18:13:26 +0300 Subject: Remove ServerFeatures haveMonsterName because it depend only on server type. --- src/actormanager.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/actormanager.cpp') 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 && -- cgit v1.2.3-70-g09d2