//look around a client for things which might aggro the client. void EntityList::CheckClientAggro(Client *around) { for (auto it = mob_list.begin(); it != mob_list.end(); ++it) { Mob *mob = it->second; if (mob->IsClient()) //also ensures that mob != around continue; if (mob->CheckWillAggro(around) && !mob->CheckAggro(around)) mob->AddToHateList(around, 25); } }