(mission_short_name): Remove mission_short_name, not used.

This commit is contained in:
Ron Koenderink 2005-11-04 18:27:28 +00:00
parent b19c2a6c03
commit 1b74e7ac42
2 changed files with 0 additions and 26 deletions

View file

@ -508,7 +508,6 @@ extern int off_support(coord, coord, natid, natid);
extern int def_support(coord, coord, natid, natid);
extern int oprange(struct genitem *, int, int *);
extern int cando(int, int);
extern s_char *mission_short_name(int);
extern void show_mission(int, struct nstr_item *);
extern int air_defense(coord, coord, natid, struct emp_qelem *,
struct emp_qelem *);

View file

@ -848,31 +848,6 @@ nameofitem(struct genitem *gp, int type)
return NULL;
}
s_char *
mission_short_name(int mission)
{
switch (mission) {
case MI_INTERDICT:
return "interdict";
case MI_SUPPORT:
return "support ";
case MI_OSUPPORT:
return "offensive";
case MI_DSUPPORT:
return "defensive";
case MI_RESERVE:
return "reserve ";
case MI_ESCORT:
return "escort ";
case MI_SINTERDICT:
return "interdict";
case MI_AIR_DEFENSE:
return "air def ";
default:
return " ";
}
}
s_char *
mission_name(short int mission)
{