mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user