(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
|
@ -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