X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=templates%2Fdungeon.h.tpl;fp=templates%2Fdungeon.h.tpl;h=cf637c8ecd1c9fd74c8ce1e383a640378ef4f081;hp=2a26917296c3692a7bb2e3585e3d03578d268b6f;hb=a6ec8a9595e988db977f0075402ab5279e653af9;hpb=75bc031b46097725c83b63bbdb520ac3c907ef05 diff --git a/templates/dungeon.h.tpl b/templates/dungeon.h.tpl index 2a26917..cf637c8 100644 --- a/templates/dungeon.h.tpl +++ b/templates/dungeon.h.tpl @@ -35,9 +35,8 @@ SPDX-License-Identifier: BSD-2-Clause #define COND_HOGRE 20 /* Trying to deal with ogre */ #define COND_HJADE 21 /* Found all treasures except jade */ -/* Count of dwarf starting locations */ -#define NDWARFLOCS {ndwarflocs} -extern const int dwarflocs[NDWARFLOCS]; +#define NDWARVES {ndwarflocs} // number of dwarves +extern const int dwarflocs[NDWARVES]; typedef struct {{ const char** strs;