making the mapper compile

This commit is contained in:
Enno Rehling 2005-10-25 13:01:55 +00:00
parent 19a7624fe8
commit 6107e84b54

View file

@ -1242,9 +1242,10 @@ create_island(region *r, int n, terrain_t t)
} }
r2 = findregion(x,y); r2 = findregion(x,y);
if (r2 && fval(r2->terrain, SEA_REGION)) { if (r2 && fval(r2->terrain, SEA_REGION)) {
terrain_t t = choose_terrain(oldterrain(r2->terrain));
r2->msgs = (void *)d; r2->msgs = (void *)d;
push(r2); push(r2);
abbruch=Create_Island(r2,&n,choose_terrain(r->terrain),sx,sy); abbruch = Create_Island(r2, &n, newterrain(t), sx, sy);
} }
if (abbruch) break; if (abbruch) break;
} }