Update to creature formations.
This is a big merge, it may cause problems. Use with caution, report bugs. --HG-- branch : trunk
This commit is contained in:
@@ -79,11 +79,6 @@ inline void Traveller<Creature>::Relocation(float x, float y, float z, float ori
|
||||
template<>
|
||||
inline void Traveller<Creature>::MoveTo(float x, float y, float z, uint32 t)
|
||||
{
|
||||
//Call for creature group update
|
||||
if(i_traveller.IsFormationLeader() && !i_traveller.isInCombat() &&
|
||||
CreatureGroupHolder.find(i_traveller.GetFormationID()) != CreatureGroupHolder.end())
|
||||
CreatureGroupHolder[i_traveller.GetFormationID()]->LeaderMovedInEvade();
|
||||
|
||||
i_traveller.AI_SendMoveToPacket(x, y, z, t, i_traveller.GetUnitMovementFlags(), 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user