(SCT_TYPE_MAX, dchr): Don't include dchr[]'s sentinel in SCT_TYPE_MAX.
(SCT_MAXDEF): Unused, remove.
This commit is contained in:
parent
0e4eb6bf0a
commit
54bd2587d9
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue