diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 18:13:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 18:13:26 +0300 |
commit | 013e03f7a62c40554d0ed00c30375155557a1318 (patch) | |
tree | a3dd2140baafa761f122352b9a4b0ab2e041f783 /src/actormanager.cpp | |
parent | bfa0ffd5db38174555992c4a21274be41aad753f (diff) | |
download | manaplus-013e03f7a62c40554d0ed00c30375155557a1318.tar.gz manaplus-013e03f7a62c40554d0ed00c30375155557a1318.tar.bz2 manaplus-013e03f7a62c40554d0ed00c30375155557a1318.tar.xz manaplus-013e03f7a62c40554d0ed00c30375155557a1318.zip |
Remove ServerFeatures haveMonsterName because it depend only on server type.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 6 |
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 && |