(get_empobjp): New. Returns a pointer an empobj.
(emp_obj_chr_name): New. Returns a pointer to the characteristics name for an empobj. (unit_map): Simplify unit_map() by using get_empobjp() and emp_obj_chr_name(). (map, cmd_move_map): Switch to EF_SHIP as unit_map does not default to EF_SHIP for EF_BAD anymore.
This commit is contained in:
parent
b70653815c
commit
fec9878ca4
5 changed files with 41 additions and 24 deletions
|
@ -343,7 +343,7 @@ move(void)
|
|||
static int
|
||||
cmd_move_map(coord curx, coord cury, char *arg)
|
||||
{
|
||||
return display_region_map(0, EF_BAD, curx, cury, arg);
|
||||
return display_region_map(0, EF_SHIP, curx, cury, arg);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue