# HG changeset patch # User Rubidium # Date 2024-01-15 19:04:11 # Node ID fc1bf0ee732996877d6e7f310ef72bbc9bf3dc1e # Parent c0dc7fe1d8ca652d2f7de98cecea85101fd2e180 Fix 36a0818: TTO did not save company shares diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp --- a/src/saveload/oldloader_sl.cpp +++ b/src/saveload/oldloader_sl.cpp @@ -957,9 +957,9 @@ static const OldChunks _company_chunk[] OCL_CNULL( OC_TTD, 1 ), // avail_railtypes OCL_SVAR( OC_TILE, Company, location_of_HQ ), - OCL_NULL( 4 ), // Shares + OCL_CNULL( OC_TTD, 4 ), // Shares - OCL_CNULL( OC_TTD, 8 ), ///< junk at end of chunk + OCL_CNULL( OC_TTD, 8 ), // junk at end of chunk OCL_END() };