*Always use idle motion as default for triggers.
--HG-- branch : trunk
This commit is contained in:
@@ -204,6 +204,12 @@ void Creature::SearchFormationAndPath()
|
|||||||
if(!lowguid)
|
if(!lowguid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if(isTrigger())
|
||||||
|
{
|
||||||
|
SetDefaultMovementType(IDLE_MOTION_TYPE);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bool usePath = (GetDefaultMovementType() == WAYPOINT_MOTION_TYPE);
|
bool usePath = (GetDefaultMovementType() == WAYPOINT_MOTION_TYPE);
|
||||||
CreatureGroupInfoType::iterator frmdata = CreatureGroupMap.find(lowguid);
|
CreatureGroupInfoType::iterator frmdata = CreatureGroupMap.find(lowguid);
|
||||||
if(frmdata != CreatureGroupMap.end())
|
if(frmdata != CreatureGroupMap.end())
|
||||||
|
|||||||
Reference in New Issue
Block a user