summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-30 23:12:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-30 23:12:06 +0300
commit6bedbd1724e575a152250eeda7988423d01680ba (patch)
tree69770d42c82e5b13b2e4fb08ea3b5cce46763346 /src/net
parent1680d159ecbf75591d2dab1416ff8144c27d4de5 (diff)
downloadplus-6bedbd1724e575a152250eeda7988423d01680ba.tar.gz
plus-6bedbd1724e575a152250eeda7988423d01680ba.tar.bz2
plus-6bedbd1724e575a152250eeda7988423d01680ba.tar.xz
plus-6bedbd1724e575a152250eeda7988423d01680ba.zip
Add chat command for spawn debug local player copy.
New chat command: /debugSpawn
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp20
1 files changed, 0 insertions, 20 deletions
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;
}