(SCT_TYPE_MAX, dchr): Don't include dchr[]'s sentinel in SCT_TYPE_MAX.

(SCT_MAXDEF): Unused, remove.
This commit is contained in:
Markus Armbruster 2006-06-23 04:53:31 +00:00
parent 0e4eb6bf0a
commit 54bd2587d9
2 changed files with 3 additions and 4 deletions

View file

@ -45,7 +45,7 @@
* Initialized on startup from sect.config and deity custom config (if any).
* Terminated by a sentinel with null d_name.
*/
struct dchrstr dchr[SCT_TYPE_MAX + 1];
struct dchrstr dchr[SCT_TYPE_MAX + 2];
/*
* Table of infrastructure types