From 92d4c783c463433a202649c87e78dab3ad918daf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 5 May 2013 19:32:36 +0300 Subject: Send name request in legacy servers if npc was deleted and created at same time. --- src/net/ea/beinghandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 5726f9ed0..cb8a2fa28 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -166,9 +166,12 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg, } else { - // undeleting marked for deletion being if (dstBeing->getType() == Being::NPC) + { actorSpriteManager->undelete(dstBeing); + if (serverVersion < 1) + requestNameById(id); + } } if (dstBeing->getType() == Being::PLAYER) -- cgit v1.2.3-70-g09d2