Marine missiles can't actually support, see perform_mission(). Make
the mission command reject them.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
struct plchrstr *pcp;
pcp = &plchr[(int)gp->type];
struct plchrstr *pcp;
pcp = &plchr[(int)gp->type];
- if (!(pcp->pl_flags & P_T)) {
+ if ((pcp->pl_flags & (P_T | P_MAR)) != P_T) {
pr("Only planes with the tactical ability can support.\n"
"%s #%d is ineligible\n",
pcp->pl_name, gp->uid);
pr("Only planes with the tactical ability can support.\n"
"%s #%d is ineligible\n",
pcp->pl_name, gp->uid);