diff --git a/zone/attack.cpp b/zone/attack.cpp index efaf24239..20c01963b 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -2414,7 +2414,7 @@ void Mob::AddToHateList(Mob* other, uint32 hate /*= 0*/, int32 damage /*= 0*/, b bool wasengaged = IsEngaged(); Mob* owner = other->GetOwner(); - Mob* mypet = this->GetPet(); + Mob* mypet = this->GetPet(); Mob* myowner = this->GetOwner(); Mob* targetmob = this->GetTarget(); diff --git a/zone/hate_list.cpp b/zone/hate_list.cpp index 359b94dc1..3f7c1390b 100644 --- a/zone/hate_list.cpp +++ b/zone/hate_list.cpp @@ -158,10 +158,10 @@ Mob* HateList::GetClosestEntOnHateList(Mob *hater) return close_entity; } -#include +// #include void HateList::AddEntToHateList(Mob *in_entity, uint32 in_hate, int32 in_damage, bool in_is_entity_frenzy, bool iAddIfNotExist) { - std::cout << "AddEntToHateList name: " << owner->GetCleanName() << " in_hate " << in_hate << " in_damage " << in_damage << std::endl; + // std::cout << "AddEntToHateList name: " << owner->GetCleanName() << " in_hate " << in_hate << " in_damage " << in_damage << std::endl; if (!in_entity) { return; diff --git a/zone/hate_list.h b/zone/hate_list.h index 5e3355dfd..9958c2971 100644 --- a/zone/hate_list.h +++ b/zone/hate_list.h @@ -27,7 +27,7 @@ struct ExtraAttackOptions; struct struct_HateList { Mob *entity_on_hatelist; - int32 hatelist_damage; + uint32 hatelist_damage; uint32 stored_hate_amount; bool is_entity_frenzy; };