XTargets will move auto entries up on removal like live

This also makes use of the bulk packet so not a crap ton of packets
generated.
This commit is contained in:
Michael Cook (mackal)
2015-09-03 02:56:51 -04:00
parent b7ee4634be
commit 4ae02e5efe
3 changed files with 80 additions and 22 deletions
+1 -1
View File
@@ -1373,7 +1373,7 @@ void EntityList::RefreshAutoXTargets(Client *c)
continue;
if (m->CheckAggro(c) && !c->IsXTarget(m)) {
c->AddAutoXTarget(m);
c->AddAutoXTarget(m, false); // we only call this before a bulk, so lets not send right away
break;
}