From 6bedbd1724e575a152250eeda7988423d01680ba Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Jul 2014 23:12:06 +0300 Subject: Add chat command for spawn debug local player copy. New chat command: /debugSpawn --- src/net/ea/beinghandler.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 8750efcf0..65e14040e 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -82,26 +82,6 @@ Being *BeingHandler::createBeing(const int id, const int16_t job) const type = ActorType::PORTAL; Being *const being = actorManager->createBeing(id, type, job); - - if (type == ActorType::PLAYER || type == ActorType::NPC) - { - being->updateFromCache(); - requestNameById(id); - if (localPlayer) - localPlayer->checkNewName(being); - } - if (type == ActorType::PLAYER) - { - if (botCheckerWindow) - botCheckerWindow->updateList(); - if (socialWindow) - socialWindow->updateActiveList(); - } - else if (type == ActorType::NPC) - { - if (questsWindow) - questsWindow->addEffect(being); - } return being; } -- cgit v1.2.3-70-g09d2