(svn r10759) -Codechange: make the industry struct use the pool item class as super class.

This commit is contained in:
rubidium
2007-08-02 23:21:52 +00:00
parent 549450d31a
commit e4149482ec
6 changed files with 43 additions and 84 deletions

View File

@@ -715,7 +715,7 @@ static bool LoadOldIndustry(LoadgameState *ls, int num)
i = GetIndustry(num);
if (!LoadChunk(ls, i, industry_chunk)) return false;
if (IsValidIndustry(i)) {
if (i->IsValid()) {
i->town = GetTown(REMAP_TOWN_IDX(_old_town_index));
}