mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 13:32:17 +00:00
Fix for bot pet spell buff corruption
This commit is contained in:
1 parent
406e2f84eb
commit
590d8f4043
2 files changed
+4
No files matched your search
@@ -2620,6 +2620,7 @@ void Bot::LoadPet() {
|
||||
if(GetPet() && GetPet()->IsNPC()) {
|
||||
NPC *pet = GetPet()->CastToNPC();
|
||||
SpellBuff_Struct petBuffs[BUFF_COUNT];
|
||||
memset(petBuffs, 0, sizeof(petBuffs));
|
||||
uint32 petItems[MAX_WORN_INVENTORY];
|
||||
|
||||
LoadPetBuffs(petBuffs, PetSaveId);
|
||||
|
||||
Reference in new issue
Block a user