forked from github/server
assert, damit keine zwei Parteien in der gleichen Region starten.
This commit is contained in:
parent
462e2e1843
commit
6b72f8563b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue