Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmattkc committed May 8, 2019
1 parent 6f993cb commit 2ac87a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/effectui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ void EffectUI::UpdateFromEffect()
EffectField* previous_field = i > 0 ? additional_effects_.at(i-1)->row(j)->Field(k) : field;
EffectField* additional_field = additional_effects_.at(i)->row(j)->Field(k);

if (additional_field->GetValueAt(additional_effects_.at(i)->Now()) != previous_field->GetValueAt(additional_effects_.at(i-1)->Now())) {
if (additional_field->GetValueAt(additional_effects_.at(i)->Now())
!= previous_field->GetValueAt(additional_effects_.at(i)->Now())) {
same_value = false;
break;
}
Expand Down

0 comments on commit 2ac87a6

Please sign in to comment.