Core/Movement: Allow overriding speed for taxi movement generator
Port From (https://github.com/TrinityCore/TrinityCore/commit/038f995ad6ce6a26f71367cae3eb7ae107527a18)
This commit is contained in:
@@ -112,18 +112,6 @@ namespace Game
|
||||
GetPlayer().SetTaxiCheater(lastTaxiCheaterState);
|
||||
}
|
||||
|
||||
public void SendDoFlight(uint mountDisplayId, uint path, uint pathNode = 0)
|
||||
{
|
||||
// remove fake death
|
||||
if (GetPlayer().HasUnitState(UnitState.Died))
|
||||
GetPlayer().RemoveAurasByType(AuraType.FeignDeath);
|
||||
|
||||
if (mountDisplayId != 0)
|
||||
GetPlayer().Mount(mountDisplayId);
|
||||
|
||||
GetPlayer().GetMotionMaster().MoveTaxiFlight(path, pathNode);
|
||||
}
|
||||
|
||||
public bool SendLearnNewTaxiNode(Creature unit)
|
||||
{
|
||||
// find current node
|
||||
|
||||
Reference in New Issue
Block a user