From 6b72f8563b6d46ea0e10dfd0bc6c802646770f09 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 16 Apr 2005 08:52:36 +0000 Subject: [PATCH] assert, damit keine zwei Parteien in der gleichen Region starten. --- src/common/modules/autoseed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/modules/autoseed.c b/src/common/modules/autoseed.c index 039c59860..cd22e6a33 100644 --- a/src/common/modules/autoseed.c +++ b/src/common/modules/autoseed.c @@ -525,6 +525,7 @@ autoseed(newfaction ** players, int nsize) isize += REGIONS_PER_FACTION; terraform(r, preferred_terrain(nextf->race)); ++tsize; + assert(r->land && r->units==0); u = addplayer(r, addfaction(nextf->email, nextf->password, nextf->race, nextf->lang, nextf->subscription)); u->faction->alliance = nextf->allies;