changeset 7886 | b02aa3532d1d |
parent 7885 | 4eb9b01e37ff |
child 7895 | 62a61dc1930a |
--- a/src/oldloader.cpp Thu Aug 02 22:33:53 2007 +0000 +++ b/src/oldloader.cpp Thu Aug 02 23:21:52 2007 +0000 @@ -715,7 +715,7 @@ 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)); }