(mission_short_name): Remove mission_short_name, not used.
This commit is contained in:
parent
b19c2a6c03
commit
1b74e7ac42
2 changed files with 0 additions and 26 deletions
|
@ -508,7 +508,6 @@ extern int off_support(coord, coord, natid, natid);
|
||||||
extern int def_support(coord, coord, natid, natid);
|
extern int def_support(coord, coord, natid, natid);
|
||||||
extern int oprange(struct genitem *, int, int *);
|
extern int oprange(struct genitem *, int, int *);
|
||||||
extern int cando(int, int);
|
extern int cando(int, int);
|
||||||
extern s_char *mission_short_name(int);
|
|
||||||
extern void show_mission(int, struct nstr_item *);
|
extern void show_mission(int, struct nstr_item *);
|
||||||
extern int air_defense(coord, coord, natid, struct emp_qelem *,
|
extern int air_defense(coord, coord, natid, struct emp_qelem *,
|
||||||
struct emp_qelem *);
|
struct emp_qelem *);
|
||||||
|
|
|
@ -848,31 +848,6 @@ nameofitem(struct genitem *gp, int type)
|
||||||
return NULL;
|
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 *
|
s_char *
|
||||||
mission_name(short int mission)
|
mission_name(short int mission)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue