mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-20 06:59:46 -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
|
||||
SetUnitMovementFlags(GetUnitMovementFlags() & MOVEMENTFLAG_MASK_HAS_PLAYER_STATUS_OPCODE);
|
||||
DisableSpline();
|
||||
GetMotionMaster()->Clear();
|
||||
|
||||
if (Transport* transport = GetTransport())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user