mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +00:00
Merge pull request #660 from mlinderdt/master
Bot bugs - targeting after zoning and zone.exe crash
This commit is contained in:
commit
f2c48d4c58
@ -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();
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user