Remove some mlog related functions in Mob::

This commit is contained in:
Akkadius
2015-01-16 21:53:56 -06:00
parent 79ac3f9b44
commit d21466566e
3 changed files with 0 additions and 37 deletions
-29
View File
@@ -3538,35 +3538,6 @@ bool EntityList::LimitCheckName(const char *npc_name)
return true;
}
void EntityList::RadialSetLogging(Mob *around, bool enabled, bool clients,
bool non_clients, float range)
{
float range2 = range * range;
auto it = mob_list.begin();
while (it != mob_list.end()) {
Mob *mob = it->second;
++it;
if (mob->IsClient()) {
if (!clients)
continue;
} else {
if (!non_clients)
continue;
}
if (around->DistNoRoot(*mob) > range2)
continue;
if (enabled)
mob->EnableLogging();
else
mob->DisableLogging();
}
}
void EntityList::UpdateHoTT(Mob *target)
{
auto it = client_list.begin();