Simplify routech[]

routech[][1] hasn't been used in living memory.  Drop it, and simplify
to routech[].
This commit is contained in:
Markus Armbruster 2008-08-27 21:30:56 -04:00
parent 2ec20c8896
commit d012940230
4 changed files with 5 additions and 12 deletions

View file

@ -101,8 +101,7 @@ path(void)
if (i == DIR_STOP)
break;
memcpy(&map[delty(&ns.range, cy)][deltx(&ns.range, cx) * 2],
routech[i][0],
3);
routech[i], 3);
cx = xnorm(cx + diroff[i][0]);
cy = ynorm(cy + diroff[i][1]);
}