From 83d468c7ee8ae762a45762d67293bb4521c1d52f Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 29 May 2009 21:30:08 -0500 Subject: *Always use idle motion as default for triggers. --HG-- branch : trunk --- src/game/Creature.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 840af9b4591..fc5b0436867 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -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()) -- cgit v1.2.3