(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:
Ron Koenderink 2006-07-12 18:14:31 +00:00
parent fa38aef700
commit 51275c753f
5 changed files with 76 additions and 70 deletions

View file

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