empobj: Drop unused get_empobj_mob_max()

Unused since commit 3a1577a, v4.3.30.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-06-12 12:10:47 +02:00
parent 2a87a8d240
commit 2ea69f9b2d
2 changed files with 0 additions and 18 deletions

View file

@ -95,7 +95,6 @@ union empobj_storage {
#define get_empobjp(type, n) ((struct empobj *)ef_ptr((type), (n)))
extern char *empobj_chr_name(struct empobj *gp);
extern int get_empobj_mob_max(int type);
extern int empobj_in_use(int, void *);
#endif

View file

@ -59,23 +59,6 @@ empobj_chr_name(struct empobj *gp)
return "The Beast";
}
int
get_empobj_mob_max(int type)
{
switch (type) {
case EF_SHIP:
return ship_mob_max;
case EF_LAND:
return land_mob_max;
case EF_PLANE:
return plane_mob_max;
case EF_SECTOR:
return sect_mob_max;
}
CANT_REACH();
return -1;
}
int
empobj_in_use(int type, void *p)
{