Core/Movement: MotionMaster reimplementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/426f9f2f92b26fbb68e7cda9290ccbd586c6af4e)
This commit is contained in:
@@ -345,11 +345,7 @@ namespace Game
|
||||
GetPlayer().SpawnCorpseBones();
|
||||
}
|
||||
// stop taxi flight at port
|
||||
if (GetPlayer().IsInFlight())
|
||||
{
|
||||
GetPlayer().GetMotionMaster().MovementExpired();
|
||||
GetPlayer().CleanupAfterTaxiFlight();
|
||||
}
|
||||
GetPlayer().FinishTaxiFlight();
|
||||
|
||||
BattlefieldStatusActive battlefieldStatus;
|
||||
Global.BattlegroundMgr.BuildBattlegroundStatusActive(out battlefieldStatus, bg, GetPlayer(), battlefieldPort.Ticket.Id, GetPlayer().GetBattlegroundQueueJoinTime(bgQueueTypeId), bg.GetArenaType());
|
||||
|
||||
Reference in New Issue
Block a user