This commit is contained in:
KimLS 2013-08-29 15:46:56 -07:00
commit bef02b3511
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
EQEMu Changelog (Started on Sept 24, 2003 15:50) EQEMu Changelog (Started on Sept 24, 2003 15:50)
------------------------------------------------------- -------------------------------------------------------
== 08/20/2013 ==
Uleat: Fix for bot pet spell buff corruption (existing db issues will correct themselves through pet death attrition)
== 07/18/2013 == == 07/18/2013 ==
KLS: Fix for crash in special_abilities code due to existing use of some dangerous code we didn't catch before. KLS: Fix for crash in special_abilities code due to existing use of some dangerous code we didn't catch before.

View File

@ -2620,6 +2620,7 @@ void Bot::LoadPet() {
if(GetPet() && GetPet()->IsNPC()) { if(GetPet() && GetPet()->IsNPC()) {
NPC *pet = GetPet()->CastToNPC(); NPC *pet = GetPet()->CastToNPC();
SpellBuff_Struct petBuffs[BUFF_COUNT]; SpellBuff_Struct petBuffs[BUFF_COUNT];
memset(petBuffs, 0, sizeof(petBuffs));
uint32 petItems[MAX_WORN_INVENTORY]; uint32 petItems[MAX_WORN_INVENTORY];
LoadPetBuffs(petBuffs, PetSaveId); LoadPetBuffs(petBuffs, PetSaveId);