bugfix terraforming in regionen ohne production

This commit is contained in:
Enno Rehling 2005-12-21 10:11:19 +00:00
parent e8746177bc
commit 76976a970e
1 changed files with 24 additions and 23 deletions

View File

@ -65,6 +65,7 @@ terraform_resources(region * r)
int i;
const terrain_type * terrain = r->terrain;
if (terrain->production==NULL) return;
for (i=0;terrain->production[i].type; ++i) {
rawmaterial *rm;
const terrain_production * production = terrain->production+i;