Changeset - r28473:fc1bf0ee7329
[Not reviewed]
master
0 1 0
Rubidium - 11 months ago 2024-01-15 19:04:11
rubidium@openttd.org
Fix 36a0818: TTO did not save company shares
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/saveload/oldloader_sl.cpp
Show inline comments
 
@@ -954,15 +954,15 @@ static const OldChunks _company_chunk[] 
 

	
 
	OCL_SVAR(  OC_UINT8, Company, block_preview ),
 
	OCL_CNULL( OC_TTD, 1 ),           // Old AI
 
	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()
 
};
 

	
 
static bool LoadOldCompany(LoadgameState *ls, int num)
 
{
0 comments (0 inline, 0 general)