fix recent change for terraforming herbs

This commit is contained in:
Enno Rehling 2021-03-18 21:00:19 +01:00
parent bc1a9b27ef
commit d7b0da327b
1 changed files with 3 additions and 1 deletions

View File

@ -1242,7 +1242,6 @@ void terraform_region(region * r, const terrain_type * terrain)
assert(terrain); assert(terrain);
r->terrain = terrain; r->terrain = terrain;
reset_herbs(r);
reset_rawmaterials(r); reset_rawmaterials(r);
terraform_resources(r); terraform_resources(r);
@ -1265,6 +1264,9 @@ void terraform_region(region * r, const terrain_type * terrain)
r->land = calloc(1, sizeof(land_region)); r->land = calloc(1, sizeof(land_region));
create_land(r); create_land(r);
} }
else {
reset_herbs(r);
}
init_region(r); init_region(r);
} }