]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/item.c
Sectors need space for items, deliveries and distribution thresholds.
[empserver] / src / lib / global / item.c
index 264630d0c7510d51779ca00cb6da552533792810..60924b60655b14eacf1290c9136877e2d9726657 100644 (file)
@@ -59,3 +59,5 @@ struct ichrstr ichr[I_MAX + 2] = {
     {'r', V_RAD, 150, 1, 8, {1, 10, 1, 1}, "radioactive materials"},
     {0, 0, 0, 0, 0, {0, 0, 0, 0}, 0}
 };
+
+int itm_maxno = (sizeof(ichr) / sizeof(struct ichrstr)) - 1;