(do_map): New. map() was split into two parts map() and do_map().
(map): Call new function do_map(). (display_region_map): Modify to use do_map() instead of map(). (tran_nmap, tran_pmap, cmd_move_map): Modify to accomodate the modified display_region_map() function.
This commit is contained in:
parent
fa38aef700
commit
51275c753f
5 changed files with 76 additions and 70 deletions
|
@ -343,7 +343,7 @@ move(void)
|
|||
static int
|
||||
cmd_move_map(coord curx, coord cury, char *arg)
|
||||
{
|
||||
return display_region_map("map", curx, cury, arg);
|
||||
return display_region_map(0, EF_BAD, curx, cury, arg);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue