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

@ -58,7 +58,7 @@ enum p_mode { /* How to find path to destination */
extern signed char dirindex['z'-'a'+1];
extern int diroff[DIR_MAP+1][2];
extern char dirch[DIR_MAP+2];
extern char *routech[DIR_LAST+1][2];
extern char *routech[DIR_LAST+1];
/* src/lib/subs/paths.c */
extern char *getpath(char *, char *, coord, coord, int, int, enum p_mode);