Use mission 0 instead of 'r' for air defense
reco() uses 'r' for reconnaissance. sam_intercept() and ac_intercept() use 0 for intercept. Switch air_defense() to use 0 as well. No functional change, because 'r' and 0 behave the same, just cleanup.
This commit is contained in:
parent
d8688508c4
commit
3b8ff8a92d
1 changed files with 1 additions and 1 deletions
|
@ -1353,7 +1353,7 @@ air_defense(coord x, coord y, natid victim, struct emp_qelem *bomb_list,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
mission_flags =
|
mission_flags =
|
||||||
mission_pln_arm(&i, air->x, air->y, 2 * dist, 'r', 0, P_F,
|
mission_pln_arm(&i, air->x, air->y, 2 * dist, 0, 0, P_F,
|
||||||
mission_flags);
|
mission_flags);
|
||||||
|
|
||||||
/* Did we run out of interceptors? */
|
/* Did we run out of interceptors? */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue