Skip to content

Commit

Permalink
clang
Browse files Browse the repository at this point in the history
  • Loading branch information
MjnMixael committed Jan 5, 2025
1 parent 5ce9b5c commit 408fd08
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions code/mission/missionparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9057,21 +9057,17 @@ bool check_for_24_1_data()
}
}

if ((Asteroid_field.debris_genre == DG_DEBRIS && !Asteroid_field.field_debris_type.empty()) ||
(Asteroid_field.debris_genre == DG_ASTEROID && !Asteroid_field.field_asteroid_type.empty()))
return true;

return false;
return (Asteroid_field.debris_genre == DG_DEBRIS && !Asteroid_field.field_debris_type.empty()) ||
(Asteroid_field.debris_genre == DG_ASTEROID && !Asteroid_field.field_asteroid_type.empty());
}

bool check_for_24_3_data()
{
for (int i = 0; i < Num_teams; i++) {
for (int j = 0; j < Briefings[i].num_stages; i++) {
for (int j = 0; j < Briefings[i].num_stages; j++) {
if (!gr_compare_color_values(Briefings[i].stages[j].grid_color, Color_briefing_grid)) {
return true;
}
}
}
return false;
}

0 comments on commit 408fd08

Please sign in to comment.