forked from github/server
fix recent change for terraforming herbs
This commit is contained in:
parent
bc1a9b27ef
commit
d7b0da327b
|
@ -1242,7 +1242,6 @@ void terraform_region(region * r, const terrain_type * terrain)
|
|||
assert(terrain);
|
||||
|
||||
r->terrain = terrain;
|
||||
reset_herbs(r);
|
||||
reset_rawmaterials(r);
|
||||
terraform_resources(r);
|
||||
|
||||
|
@ -1265,6 +1264,9 @@ void terraform_region(region * r, const terrain_type * terrain)
|
|||
r->land = calloc(1, sizeof(land_region));
|
||||
create_land(r);
|
||||
}
|
||||
else {
|
||||
reset_herbs(r);
|
||||
}
|
||||
init_region(r);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue