Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
newfrenchy83 committed Dec 22, 2024
1 parent b8c5516 commit d29dff3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/formula/callable_objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ int attack_type_callable::do_compare(const formula_callable* callable) const
return att_->type().compare(att_callable->att_->type());
}

if(att_->effective_damage_type().first != att_callable->att_->effective_damage_type().first) {
return att_->effective_damage_type().first.compare(att_callable->att_->effective_damage_type().first);
}

if(att_->range() != att_callable->att_->range()) {
return att_->range().compare(att_callable->att_->range());
}
Expand Down

0 comments on commit d29dff3

Please sign in to comment.