Bugfix mapper startet ungefragt neue Welten.

This commit is contained in:
Enno Rehling 2003-08-17 15:33:50 +00:00
parent 777da86869
commit 5d02ad1b67
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ mkisland(int nsize)
for (r=regions;r;r=r->next) { for (r=regions;r;r=r->next) {
struct plane * p = rplane(r); struct plane * p = rplane(r);
if (p==NULL && (rmin==NULL || r->age<=MAXAGEDIFF)) { if (r->terrain==T_OCEAN && p==NULL && (rmin==NULL || r->age<=MAXAGEDIFF)) {
direction_t d; direction_t d;
for (d=0;d!=MAXDIRECTIONS;++d) { for (d=0;d!=MAXDIRECTIONS;++d) {
if (rconnect(r, d)==NULL) break; if (rconnect(r, d)==NULL) break;