(svn r17472) -Fix [FS#3182]: industry list was rebuilt too early during industry removal causing the removed industry to be still in the list after removal

This commit is contained in:
rubidium
2009-09-08 12:22:28 +00:00
parent dcd6b2096d
commit 535f71fc13
2 changed files with 10 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ struct Industry : IndustryPool::PoolItem<&_industry_pool> {
}
static Industry *GetRandom();
static void PostDestructor(size_t index);
};
void PlantRandomFarmField(const Industry *i);