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:
parent
2a87a8d240
commit
2ea69f9b2d
2 changed files with 0 additions and 18 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue