Jamfile muss neues item enthalten

#ifdef HEROES, nicht HEROES == 1
This commit is contained in:
Enno Rehling 2004-12-22 00:56:27 +00:00
parent 080a9a8bba
commit 32a85be05f
3 changed files with 3 additions and 2 deletions

View File

@ -1146,7 +1146,7 @@ report_computer(FILE * F, faction * f, const faction_list * addresses,
fprintf(F, "%d;Max. Immigranten\n", count_maxmigrants(f));
}
#if HEROES == 1
#ifdef HEROES
i = countheroes(f);
if (i>0) fprintf(F, "%d;heroes\n", i);
i = maxheroes(f);

View File

@ -2054,7 +2054,7 @@ report(FILE *F, faction * f, const faction_list * addresses,
count_migrants(f), maxmig);
centre(F, buf, true);
}
#if HEROES == 1
#ifdef HEROES
{
int maxh = maxheroes(f);
if (maxh) {

View File

@ -18,6 +18,7 @@ SOURCES =
weapons.c
xerewards.c
artrewards.c
speedsail.c
;
Library items : $(SOURCES) ;