From 6830c803411900e3871a038fc405068c19e279ea Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 16 Aug 2008 14:22:22 -0400 Subject: [PATCH] Remove some useless code from nav_map() --- src/lib/commands/navi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/commands/navi.c b/src/lib/commands/navi.c index ab6b5e19..6d19e36b 100644 --- a/src/lib/commands/navi.c +++ b/src/lib/commands/navi.c @@ -280,7 +280,6 @@ nav_map(int x, int y, int show_designations) struct nstr_sect ns; struct natstr *np; struct sctstr sect; - struct range range; int i; /* Note this is not re-entrant anyway, so we keep the buffers around */ @@ -307,7 +306,6 @@ nav_map(int x, int y, int show_designations) } snxtsct_dist(&ns, x, y, 1); np = getnatp(player->cnum); - xyrelrange(np, &ns.range, &range); blankfill(wmapbuf, &ns.range, 1); while (nxtsct(&ns, §)) { ptr = &wmap[ns.dy][ns.dx];