*CreatureGroups fixed and improoved. By TrullyONE

- Multimap support for instances added.
 - Removed redundant group checks.
 - New movement rules (bool group formed/dismissed added).
 - uint32 Creature::GroupID replaced with CreatureGroup pointer.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-06 13:27:42 -05:00
parent 69657cad7c
commit e8866340ce
12 changed files with 229 additions and 142 deletions

View File

@@ -69,7 +69,8 @@ HomeMovementGenerator<Creature>::Update(Creature &owner, const uint32& time_diff
// restore orientation of not moving creature at returning to home
if(owner.GetDefaultMovementType()==IDLE_MOTION_TYPE)
{
owner.SetOrientation(ori);
sLog.outDebug("Entering HomeMovement::GetDestination(z,y,z)");
owner.SetOrientation(ori);
WorldPacket packet;
owner.BuildHeartBeatMsg(&packet);
owner.SendMessageToSet(&packet, false);