(get_empobj_mob_max): Switch ef_type to type to be more consistent
with other functions.
This commit is contained in:
parent
fec9878ca4
commit
34f29824eb
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue