equal
deleted
inserted
replaced
707 |
707 |
708 static bool LoadOldIndustry(LoadgameState *ls, int num) |
708 static bool LoadOldIndustry(LoadgameState *ls, int num) |
709 { |
709 { |
710 Industry *i; |
710 Industry *i; |
711 |
711 |
712 if (!AddBlockIfNeeded(&_industry_pool, num)) |
712 if (!AddBlockIfNeeded(&_Industry_pool, num)) |
713 error("Industries: failed loading savegame: too many industries"); |
713 error("Industries: failed loading savegame: too many industries"); |
714 |
714 |
715 i = GetIndustry(num); |
715 i = GetIndustry(num); |
716 if (!LoadChunk(ls, i, industry_chunk)) return false; |
716 if (!LoadChunk(ls, i, industry_chunk)) return false; |
717 |
717 |