Merge pull request #660 from mlinderdt/master

Bot bugs - targeting after zoning and zone.exe crash
This commit is contained in:
Chris Miles 2017-10-06 17:52:49 -05:00 committed by GitHub
commit f2c48d4c58
2 changed files with 5 additions and 0 deletions

View File

@ -2841,6 +2841,8 @@ void Bot::Spawn(Client* botCharacterOwner) {
FaceTarget(botCharacterOwner);
UpdateEquipmentLight();
UpdateActiveLight();
this->m_targetable = true;
entity_list.AddBot(this, true, true);
// Load pet
LoadPet();

View File

@ -2471,6 +2471,9 @@ void Group::QueueClients(Mob *sender, const EQApplicationPacket *app, bool ack_r
if (!members[i])
continue;
if (!members[i]->IsClient())
continue;
if (ignore_sender && members[i] == sender)
continue;