From 32a85be05faab505de7f9686a17655d3d97ddad1 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 22 Dec 2004 00:56:27 +0000 Subject: [PATCH] Jamfile muss neues item enthalten #ifdef HEROES, nicht HEROES == 1 --- src/common/gamecode/creport.c | 2 +- src/common/gamecode/report.c | 2 +- src/common/items/Jamfile | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index 1c092f335..bf792f9f5 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -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); diff --git a/src/common/gamecode/report.c b/src/common/gamecode/report.c index 49497876f..36c3e7d8c 100644 --- a/src/common/gamecode/report.c +++ b/src/common/gamecode/report.c @@ -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) { diff --git a/src/common/items/Jamfile b/src/common/items/Jamfile index 9a113b2bd..89ae0041e 100644 --- a/src/common/items/Jamfile +++ b/src/common/items/Jamfile @@ -18,6 +18,7 @@ SOURCES = weapons.c xerewards.c artrewards.c + speedsail.c ; Library items : $(SOURCES) ;