diff options
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index c34b47d51..b3b6fa5f2 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -300,8 +300,6 @@ void GenericCAO::initialize(const std::string &data) m_is_visible = false; player->setCAO(this); } - if (m_client->getProtoVersion() < 33) - m_env->addPlayerName(m_name); } } @@ -337,9 +335,6 @@ void GenericCAO::processInitData(const std::string &data) GenericCAO::~GenericCAO() { - if (m_is_player && m_client->getProtoVersion() < 33) { - m_env->removePlayerName(m_name); - } removeFromScene(true); } |