(get_empobj_mob_max): New. Return maximum mobility based on ef_type.

(miss): Use new get_empobj_mob_max().
This commit is contained in:
Ron Koenderink 2006-07-24 13:40:12 +00:00
parent 6db2e6ec63
commit b70653815c
3 changed files with 21 additions and 13 deletions

View file

@ -87,5 +87,6 @@ union empobj_storage {
extern char *obj_nameof(struct empobj *gp);
extern int put_empobj(struct empobj *gp);
extern void *get_empobj_chr(struct empobj *gp);
extern int get_empobj_mob_max(int ef_type);
#endif