(dirindex): Narrow member type to signed char to save cache.

(pathcost): Catch bad direction characters (should not happen).
This commit is contained in:
Markus Armbruster 2005-09-25 09:15:27 +00:00
parent 6bfdc38df1
commit a88f12017e
3 changed files with 13 additions and 6 deletions

View file

@ -51,7 +51,7 @@
#define DIR_FIRST 1
#define DIR_LAST 6
extern int dirindex[];
extern signed char dirindex['z'-'a'+1];
extern int diroff[][2];
extern s_char dirch[];