]> git.pond.sub.org Git - empserver/blobdiff - include/plane.h
(nchr): Move the array size to nuke.h. Add rows for configurable units.
[empserver] / include / plane.h
index eb0f9673268a0dce3694c51ba94b46fa40831153..bb32aac24acff7e78f6e50a46c527d7de2661181 100644 (file)
@@ -39,6 +39,7 @@
 #include "queue.h"
 #include "sect.h"
 
+#define N_MAXPLANE     40
 #define        PLANE_MINEFF    10
 
 /*
@@ -142,7 +143,7 @@ struct plist {
 #define getplanep(n) \
        (struct plnstr *) ef_ptr(EF_PLANE, n)
 
-extern struct plchrstr plchr[];
+extern struct plchrstr plchr[N_MAXPLANE + 1];
 extern int pln_maxno;
 
 struct shiplist {