IsAggroed is redundant in these areas now since its based on engaged_encounter
This commit is contained in:
parent
8f402eb781
commit
2858455d9d
@ -1065,7 +1065,7 @@ void Entity::InCombat(bool val){
|
||||
|
||||
bool update_regen = false;
|
||||
if(GetInfoStruct()->get_engaged_encounter()) {
|
||||
if(!IsAggroed() || !IsEngagedInEncounter()) {
|
||||
if(!IsEngagedInEncounter()) {
|
||||
GetInfoStruct()->set_engaged_encounter(0);
|
||||
update_regen = true;
|
||||
}
|
||||
|
@ -4166,7 +4166,7 @@ void Player::InCombat(bool val, bool range) {
|
||||
|
||||
bool update_regen = false;
|
||||
if(GetInfoStruct()->get_engaged_encounter()) {
|
||||
if(!IsAggroed() || !IsEngagedInEncounter()) {
|
||||
if(!IsEngagedInEncounter()) {
|
||||
GetInfoStruct()->set_engaged_encounter(0);
|
||||
update_regen = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user