During bot spawn, set bot to targetable. Fixes issue #657.

This commit is contained in:
Michael Linder 2017-09-20 19:04:59 -05:00
parent 8c9b852586
commit 48b674a13d

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();