diff options
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index adf3af037..f097e2b04 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -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)); } |