Simplify some dependencies.
This commit is contained in:
parent
75bc031b46
commit
a6ec8a9595
4 changed files with 4 additions and 7 deletions
|
@ -54,6 +54,6 @@ const travelop_t travel[] = {{
|
|||
const char *ignore = "{ignore}";
|
||||
|
||||
/* Dwarf starting locations */
|
||||
const int dwarflocs[NDWARFLOCS] = {{{dwarflocs}}};
|
||||
const int dwarflocs[NDWARVES] = {{{dwarflocs}}};
|
||||
|
||||
/* end */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue