Removed heal per @mackal

This commit is contained in:
Paul Coene 2020-04-02 13:08:05 -04:00 committed by GitHub
parent abeb93f1e6
commit 561433902e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3295,7 +3295,6 @@ void EntityList::ClearAggro(Mob* targ)
}
//removes "targ" from all hate lists of mobs that are water only.
//water only mobs that are fleed from to another region are healed as per live
void EntityList::ClearWaterAggro(Mob* targ)
{
Client *c = nullptr;
@ -3313,11 +3312,6 @@ void EntityList::ClearWaterAggro(Mob* targ)
it->second->RemoveFromFeignMemory(c); //just in case we feigned
c->RemoveXTarget(it->second, false);
}
if (!it->second->GetHateTop()) {
// target fled the water and no other targets.
// Heal NPC as on live
it->second->Heal();
}
}
++it;
}