Remove some useless code from nav_map()
This commit is contained in:
parent
6dadcd0976
commit
6830c80341
1 changed files with 0 additions and 2 deletions
|
@ -280,7 +280,6 @@ nav_map(int x, int y, int show_designations)
|
||||||
struct nstr_sect ns;
|
struct nstr_sect ns;
|
||||||
struct natstr *np;
|
struct natstr *np;
|
||||||
struct sctstr sect;
|
struct sctstr sect;
|
||||||
struct range range;
|
|
||||||
int i;
|
int i;
|
||||||
/* Note this is not re-entrant anyway, so we keep the buffers
|
/* Note this is not re-entrant anyway, so we keep the buffers
|
||||||
around */
|
around */
|
||||||
|
@ -307,7 +306,6 @@ nav_map(int x, int y, int show_designations)
|
||||||
}
|
}
|
||||||
snxtsct_dist(&ns, x, y, 1);
|
snxtsct_dist(&ns, x, y, 1);
|
||||||
np = getnatp(player->cnum);
|
np = getnatp(player->cnum);
|
||||||
xyrelrange(np, &ns.range, &range);
|
|
||||||
blankfill(wmapbuf, &ns.range, 1);
|
blankfill(wmapbuf, &ns.range, 1);
|
||||||
while (nxtsct(&ns, §)) {
|
while (nxtsct(&ns, §)) {
|
||||||
ptr = &wmap[ns.dy][ns.dx];
|
ptr = &wmap[ns.dy][ns.dx];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue