autoseed hatte noch eine macke

This commit is contained in:
Enno Rehling 2005-04-03 11:06:19 +00:00
parent e08d2c098e
commit 4ab81ae614
2 changed files with 8 additions and 3 deletions

View File

@ -316,7 +316,14 @@ autoseed(newfaction ** players, int nsize)
if (rmin!=NULL) { if (rmin!=NULL) {
region_list * rlist = NULL, * rptr; region_list * rlist = NULL, * rptr;
faction * f; faction * f;
get_island(rmin, &rlist); direction_t d;
for (d=0;d!=MAXDIRECTIONS;++d) {
region * rn = rconnect(rmin, d);
if (rn && rn->land) {
get_island(rn, &rlist);
break;
}
}
for (rptr=rlist;rptr;rptr=rptr->next) { for (rptr=rlist;rptr;rptr=rptr->next) {
region * r = rlist->data; region * r = rlist->data;
unit * u; unit * u;

View File

@ -71,8 +71,6 @@ function process(orders)
autoseed(basepath .. "/newfactions") autoseed(basepath .. "/newfactions")
autoseed(basepath .. "/newfactions")
write_passwords() write_passwords()
write_reports() write_reports()