mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-20 23:11:56 -04:00
@@ -1665,6 +1665,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
|
|||||||
// reset movement flags at teleport, because player will continue move with these flags after teleport
|
// reset movement flags at teleport, because player will continue move with these flags after teleport
|
||||||
SetUnitMovementFlags(GetUnitMovementFlags() & MOVEMENTFLAG_MASK_HAS_PLAYER_STATUS_OPCODE);
|
SetUnitMovementFlags(GetUnitMovementFlags() & MOVEMENTFLAG_MASK_HAS_PLAYER_STATUS_OPCODE);
|
||||||
DisableSpline();
|
DisableSpline();
|
||||||
|
GetMotionMaster()->Clear();
|
||||||
|
|
||||||
if (Transport* transport = GetTransport())
|
if (Transport* transport = GetTransport())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user