Typo fix.
[open-adventure.git] / templates / dungeon.h.tpl
index 8abb529aa3c9a3edef4fa39da79c5ffdfb292425..cf637c8ecd1c9fd74c8ce1e383a640378ef4f081 100644 (file)
@@ -1,5 +1,5 @@
 /*
-SPDX-FileCopyrightText: Eric S. Raymond
+SPDX-FileCopyrightText: Copyright Eric S. Raymond <esr@thyrsus.com>
 SPDX-License-Identifier: BSD-2-Clause
 */
 #ifndef DUNGEON_H
@@ -35,6 +35,9 @@ SPDX-License-Identifier: BSD-2-Clause
 #define COND_HOGRE     20      /* Trying to deal with ogre */
 #define COND_HJADE     21      /* Found all treasures except jade */
 
+#define NDWARVES       {ndwarflocs}          // number of dwarves
+extern const int dwarflocs[NDWARVES];
+
 typedef struct {{
   const char** strs;
   const int n;