evaded = do_evade(bomb_list, esc_list);
- if (sect.sct_own != 0 && sect.sct_own != plane_owner && (!evaded)) {
+ if (sect.sct_own != 0 && sect.sct_own != plane_owner && !evaded) {
/* We only show planes overhead if they didn't
* evade radar */
overfly[sect.sct_own]++;
/* mission planes aborted due to flak -- don't send escorts */
if (QEMPTY(bomb_list))
break;
- if ((!no_air_defense) && (!evaded))
+ if (!no_air_defense && !evaded)
air_defense(x, y, plane_owner, bomb_list, esc_list);
if (sect.sct_own == 0 || sect.sct_own == plane_owner)
continue;
if (ship.shp_effic < 60)
continue;
- if ((mchr[(int)ship.shp_type].m_flags & M_SUB) && (!usesubs))
+ if ((mchr[(int)ship.shp_type].m_flags & M_SUB) && !usesubs)
continue;
range = techfact(ship.shp_tech,
ship.shp_frnge * ship.shp_effic / 200.0);
n = (-1 * MAX_RETREAT);
stopping = 0;
time_to_stop = 0;
- while ((!stopping) && n) {
+ while (!stopping && n) {
dx = dy = 0;
if (sp->shp_rpath[0] == 0 || sp->shp_rpath[0] == 0) {
stopping = 1;
n = (-1 * MAX_RETREAT);
stopping = 0;
time_to_stop = 0;
- while ((!stopping) && n) {
+ while (!stopping && n) {
dx = dy = 0;
if (lp->lnd_rpath[0] == 0 || lp->lnd_rpath[0] == 0) {
stopping = 1;
return 0;
}
- for (stop = 0, cp = ap->shp_path; (!stop) && (*cp); cp++) {
+ for (stop = 0, cp = ap->shp_path; !stop && *cp; cp++) {
switch (*cp) {
case 'y':
case 'u':