(get_empobj_mob_max): Switch ef_type to type to be more consistent

with other functions.
This commit is contained in:
Ron Koenderink 2006-07-26 00:40:33 +00:00
parent fec9878ca4
commit 34f29824eb
2 changed files with 3 additions and 3 deletions

View file

@ -89,6 +89,6 @@ extern struct empobj *get_empobjp(int type, int id);
extern int put_empobj(struct empobj *gp);
extern void *get_empobj_chr(struct empobj *gp);
extern char *emp_obj_chr_name(struct empobj *gp);
extern int get_empobj_mob_max(int ef_type);
extern int get_empobj_mob_max(int type);
#endif

View file

@ -132,9 +132,9 @@ emp_obj_chr_name(struct empobj *gp)
}
int
get_empobj_mob_max(int ef_type)
get_empobj_mob_max(int type)
{
switch (ef_type) {
switch (type) {
case EF_SHIP:
return ship_mob_max;
case EF_LAND: