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

@ -98,7 +98,7 @@ rout(void)
p = &map[ns.dy][ns.dx * 2];
if ((dir = sect.sct_del[i_del] & 0x7) &&
nstr_exec(cond, ncond, &sect))
memcpy(p, routech[dir][0], 3);
memcpy(p, routech[dir], 3);
p[1] = dchr[sect.sct_type].d_mnem;
}
for (row = 0, y = ns.range.ly; row < ns.range.height; y++, row++) {