mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
[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:
parent
64d5b54e65
commit
f2d07e5c69
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user