equal
deleted
inserted
replaced
519 OCL_END() |
519 OCL_END() |
520 }; |
520 }; |
521 |
521 |
522 static bool LoadOldDepot(LoadgameState *ls, int num) |
522 static bool LoadOldDepot(LoadgameState *ls, int num) |
523 { |
523 { |
524 if (!AddBlockIfNeeded(&_depot_pool, num)) |
524 if (!AddBlockIfNeeded(&_Depot_pool, num)) |
525 error("Depots: failed loading savegame: too many depots"); |
525 error("Depots: failed loading savegame: too many depots"); |
526 |
526 |
527 if (!LoadChunk(ls, GetDepot(num), depot_chunk)) return false; |
527 if (!LoadChunk(ls, GetDepot(num), depot_chunk)) return false; |
528 |
528 |
529 if (IsValidDepot(GetDepot(num))) { |
529 if (IsValidDepot(GetDepot(num))) { |