From 6107e84b5473504991d10cc171fd8dab6de78418 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 25 Oct 2005 13:01:55 +0000 Subject: [PATCH] making the mapper compile --- src/mapper/map_modify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mapper/map_modify.c b/src/mapper/map_modify.c index 59038b5d8..e8cfd4c78 100644 --- a/src/mapper/map_modify.c +++ b/src/mapper/map_modify.c @@ -1242,9 +1242,10 @@ create_island(region *r, int n, terrain_t t) } r2 = findregion(x,y); if (r2 && fval(r2->terrain, SEA_REGION)) { + terrain_t t = choose_terrain(oldterrain(r2->terrain)); r2->msgs = (void *)d; 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; }