mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
*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:
@@ -525,9 +525,9 @@ void MotionMaster::DelayedDelete(_Ty curr)
|
||||
|
||||
bool MotionMaster::GetDestination(float &x, float &y, float &z)
|
||||
{
|
||||
if(empty())
|
||||
if(empty() || !Impl[i_top] || isStatic(Impl[i_top]))
|
||||
return false;
|
||||
|
||||
return top()->GetDestination(x,y,z);
|
||||
|
||||
return top()->GetDestination(x,y,z);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user