TrinityCore/TrinityCore — pull request #7806 by Elron103 (2012-09-18 01:23:28+00:00)
Title: Core/Maps: Send movement packet update on delayed creature relocation

## Description

Currently no movement packet update is sent, if the creature is relocated in Map::MoveAllCreaturesInMoveList. This happens in several cases, for example in Unit::NearTeleportTo. This leads to server - client position desynchronisation.

The issue was noticed in the blood prince council encounter in Icecrown Citadel. Keleseth tries to move the Dark Nuclei NPCs into a good position by calling NearTeleportTo. But this leads to Dark Nuclei spawns, which cannot be attacked, because they are "Out of range". This is true, because the NPCs are out of range for the serverside position. But this changed position is not sent to the client, so the client is not able to see, where the NPC actually is.

The fix just adds sending a new movement packet update, if the creature is delayed-relocated. Because of this, the client knows where the NPC is, and there are no more server - client position desychronisations.

## Revisions

Trinity: https://github.com/TrinityCore/TrinityCore/commit/936c62ef4cfe85b04f689d08696a29a792815c2a
Database: TDB rev. 48