Fix article in value of mission_name() for MI_OSUPPORT argument

While there, oops on bad argument.
This commit is contained in:
Markus Armbruster 2008-06-03 07:19:34 +02:00
parent 984ffce95e
commit e0b164a283

View file

@ -750,7 +750,7 @@ mission_name(short mission)
case MI_SUPPORT: case MI_SUPPORT:
return "a support"; return "a support";
case MI_OSUPPORT: case MI_OSUPPORT:
return "a offensive support"; return "an offensive support";
case MI_DSUPPORT: case MI_DSUPPORT:
return "a defensive support"; return "a defensive support";
case MI_RESERVE: case MI_RESERVE:
@ -762,6 +762,7 @@ mission_name(short mission)
case MI_AIR_DEFENSE: case MI_AIR_DEFENSE:
return "an air defense"; return "an air defense";
} }
CANT_REACH();
return "a mysterious"; return "a mysterious";
} }