mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
*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)
|
||||
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