]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/sect.c
Support definition of additional sector types in sector.config:
[empserver] / src / lib / global / sect.c
index 3e3aeb3142533c193c21045895c15bda24cdbaee..41623968ce5ec897aad3edd4f99786a6b868dc66 100644 (file)
@@ -43,8 +43,9 @@
 /*
  * Table of sector designations
  * Initialized on startup from sect.config and deity custom config (if any).
+ * Terminated by a sentinel with null d_name.
  */
-struct dchrstr dchr[SCT_MAXDEF + 2];
+struct dchrstr dchr[SCT_TYPE_MAX + 1];
 
 /*
  * Table of infrastructure types