Simplify some dependencies.

This commit is contained in:
Eric S. Raymond 2024-01-03 06:15:04 -05:00
parent 75bc031b46
commit a6ec8a9595
4 changed files with 4 additions and 7 deletions

3
init.c
View file

@ -46,8 +46,7 @@ int initialise(void)
int seedval = (int)rand();
set_seed(seedval);
assert(NDWARVES == NDWARFLOCS);
for (int i = 1; i <= NDWARFLOCS; i++) {
for (int i = 1; i <= NDWARVES; i++) {
game.dwarves[i].loc = dwarflocs[i-1];
}