From 14a3077f6e971c9b9fd041d87bf43f4ad013c8ef Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 10 Oct 2005 04:59:54 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=718 Nach 150 Runden ist eine neue Partei erlaubt. --- src/common/modules/autoseed.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/modules/autoseed.c b/src/common/modules/autoseed.c index ed493a5e5..332eff5af 100644 --- a/src/common/modules/autoseed.c +++ b/src/common/modules/autoseed.c @@ -155,6 +155,8 @@ fix_demand(region *r) return 0; } +/* nach 150 Rudnen ist Neustart erlaubt */ +#define MINAGE_MULTI 150 newfaction * read_newfactions(const char * filename) { @@ -178,7 +180,7 @@ read_newfactions(const char * filename) &subscription, password)<=0) break; } for (f=factions;f;f=f->next) { - if (strcmp(f->email, email)==0 && f->subscription) break; + if (strcmp(f->email, email)==0 && f->subscription && f->ageunits) continue; /* skip the ones we've already got */ for (nf=newfactions;nf;nf=nf->next) {