]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/ship.c
(N_MAXSHIPS, SHP_TYPE_MAX, N_MAXPLANE, PLN_TYPE_MAX, N_MAXLAND)
[empserver] / src / lib / global / ship.c
index 79b064654a0c61e73876d42135c588dd9f6f5391..436e4ed4e83918065c57f3d4c0d4034491d9e767 100644 (file)
@@ -43,5 +43,6 @@
 /*
  * Table of ship types
  * Initialized on startup from ship.config and deity custom config (if any).
+ * Terminated by a sentinel with null m_name.
  */
-struct mchrstr mchr[N_MAXSHIPS + 1];
+struct mchrstr mchr[SHP_TYPE_MAX + 2];