Don't increment the xtarget count on feign memory

This commit is contained in:
Michael Cook (mackal) 2018-01-13 01:14:06 -05:00
parent 4cd7d98224
commit d18fb730ec

View File

@ -2684,7 +2684,7 @@ void Mob::AddToHateList(Mob* other, uint32 hate /*= 0*/, int32 damage /*= 0*/, b
hate_list.AddEntToHateList(other, hate, damage, bFrenzy, !iBuffTic);
if (other->IsClient() && !on_hatelist)
if (other->IsClient() && !on_hatelist && !IsOnFeignMemory(other->CastToClient()))
other->CastToClient()->AddAutoXTarget(this);
#ifdef BOTS