Skip to content

Commit

Permalink
add missing filter for QuadVee
Browse files Browse the repository at this point in the history
  • Loading branch information
kuronekochomusuke committed Nov 21, 2023
1 parent 9095aad commit c5c1793
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions megamek/src/megamek/common/MechSearchFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,9 @@ public static boolean isMatch(MechSummary mech, MechSearchFilter f) {
if (f.filterQuad == 1) {
entityTypes = entityTypes | Entity.ETYPE_QUAD_MECH;
}
if (f.filterQuadVee == 1) {
entityTypes = entityTypes | Entity.ETYPE_QUADVEE;
}
if (f.filterAero == 1) {
entityTypes = entityTypes | Entity.ETYPE_AERO;
}
Expand Down Expand Up @@ -890,6 +893,9 @@ public static boolean isMatch(MechSummary mech, MechSearchFilter f) {
if (f.filterQuad == 2) {
entityTypes = entityTypes | Entity.ETYPE_QUAD_MECH;
}
if (f.filterQuadVee == 2) {
entityTypes = entityTypes | Entity.ETYPE_QUADVEE;
}
if (f.filterAero == 2) {
entityTypes = entityTypes | Entity.ETYPE_AERO;
}
Expand Down

0 comments on commit c5c1793

Please sign in to comment.