Added (blizzlike) packet broadcast to near teleport. Thanks to Zor and nalimleinad (AKA anonymous colleague #1) for research.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-03-18 17:58:27 +01:00
parent 302af79bc2
commit 59e0d42260
5 changed files with 17 additions and 29 deletions

View File

@@ -3898,7 +3898,7 @@ void Spell::EffectDistract(uint32 /*i*/)
{
// For players just turn them
unitTarget->ToPlayer()->SetPosition(unitTarget->GetPositionX(), unitTarget->GetPositionY(), unitTarget->GetPositionZ(), angle, false);
unitTarget->ToPlayer()->SendTeleportAckMsg();
unitTarget->ToPlayer()->SendTeleportAckPacket();
}
else
{