Remove debugging from hate changes

This commit is contained in:
Akkadius 2014-12-27 20:25:20 -06:00
parent 73fe229e25
commit 8983953d7d
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -158,10 +158,10 @@ Mob* HateList::GetClosestEntOnHateList(Mob *hater)
return close_entity;
}
#include <iostream>
// #include <iostream>
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;

View File

@ -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;
};