From 34f29824ebf381f0185cc5d398a580a466cd7dc5 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Wed, 26 Jul 2006 00:40:33 +0000 Subject: [PATCH] (get_empobj_mob_max): Switch ef_type to type to be more consistent with other functions. --- include/empobj.h | 2 +- src/lib/common/empobj.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/empobj.h b/include/empobj.h index 408da5f07..a7b2e947c 100644 --- a/include/empobj.h +++ b/include/empobj.h @@ -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 diff --git a/src/lib/common/empobj.c b/src/lib/common/empobj.c index 64740efbd..63a433311 100644 --- a/src/lib/common/empobj.c +++ b/src/lib/common/empobj.c @@ -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: -- 2.43.0