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