struct sctstr members sct_x, sct_y are normalized, no need to
normalize them again.
The neighbor cache now speeds up distribution path assembly by about
10% without the path cache, and by about 5% with the path cache.
*ssp = sp;
} else {
sp = *ssp;
*ssp = sp;
} else {
sp = *ssp;
- sx = XNORM(sp->sct_x);
- sy = YNORM(sp->sct_y);
+ sx = sp->sct_x;
+ sy = sp->sct_y;
}
/* No need to calculate cost each time, just make sure we can
move through it. We calculate it later. */
}
/* No need to calculate cost each time, just make sure we can
move through it. We calculate it later. */