*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:
1 parent
69657cad7c
commit
e8866340ce
12 files changed
+229
-142
No files matched your search
+2
-2
@@ -4569,9 +4569,9 @@ bool ChatHandler::HandleNpcAddFormationCommand(const char* args)
|
||||
}
|
||||
|
||||
uint32 lowguid = pCreature->GetDBTableGUIDLow();
|
||||
if(pCreature->GetFormationID())
|
||||
if(pCreature->GetFormation())
|
||||
{
|
||||
PSendSysMessage("Selected creature is already member of group %u", pCreature->GetFormationID());
|
||||
PSendSysMessage("Selected creature is already member of group %u", pCreature->GetFormation()->GetId());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user