[Cleanup] Remove unnecessary break in while loop in Mob::AddToHateList() (#3219)

# Notes
- This is unnecessary and breaks the loop for no reason.
This commit is contained in:
Alex King 2023-04-05 10:31:57 -04:00 committed by GitHub
parent 64d5b54e65
commit f2d07e5c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3023,8 +3023,6 @@ void Mob::AddToHateList(Mob* other, int64 hate /*= 0*/, int64 damage /*= 0*/, bo
hate_list.AddEntToHateList(owner_, 0, 0, false, true); hate_list.AddEntToHateList(owner_, 0, 0, false, true);
owner_->AddAutoXTarget(this); // this was being called on dead/out-of-zone clients owner_->AddAutoXTarget(this); // this was being called on dead/out-of-zone clients
} }
break;
} }
} }