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:
Markus Armbruster 2008-03-24 16:05:29 +01:00
parent d8688508c4
commit 3b8ff8a92d

View file

@ -1353,7 +1353,7 @@ air_defense(coord x, coord y, natid victim, struct emp_qelem *bomb_list,
continue;
}
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);
/* Did we run out of interceptors? */