From e8866340ce2cb717486c8def489ddc9d3046a0cc Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 6 Apr 2009 13:27:42 -0500 Subject: *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 --- src/game/WaypointMovementGenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/WaypointMovementGenerator.cpp') diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index fd2b0b8bb86..aae6eacc9c6 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -52,9 +52,9 @@ void WaypointMovementGenerator::MovementInform(Creature &unit) template<> bool WaypointMovementGenerator::GetDestination(float &x, float &y, float &z) const { - if(i_destinationHolder.HasArrived()) + if(i_destinationHolder.HasArrived()) return false; - + i_destinationHolder.GetDestination(x, y, z); return true; } -- cgit v1.2.3