** Fix for groups with multiple players and bots.

*  Fixes non-group leaders zoning with their bots.
*  Fixes non-bot owners attempting to load bots they don't own.
*  Sets bots that zone to follow owner not group leader.
*  Updates database call only load bots in group you own.
*  Tested on server 2 clients, 4 bots, all permutations of zoning.
This commit is contained in:
Allen
2017-04-12 00:54:37 -07:00
parent 478a9d115b
commit f88a6774a9
3 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ public:
/* Bot group functions */
bool LoadGroupedBotsByGroupID(const uint32 group_id, std::list<uint32>& group_list);
bool LoadGroupedBotsByGroupID(const uint32 owner_id, const uint32 group_id, std::list<uint32>& group_list);
/* Bot heal rotation functions */