mission: Don't permit marine missiles on support missions
Marine missiles can't actually support, see perform_mission(). Make the mission command reject them. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
7b24e312e3
commit
bdd2a7a764
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ mission(void)
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue