forked from mirror/OpenTTD
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
This commit is contained in:
@@ -1469,8 +1469,8 @@ static bool LoadOldEngineName(LoadgameState *ls, int num)
|
||||
static const OldChunks subsidy_chunk[] = {
|
||||
OCL_SVAR( OC_UINT8, Subsidy, cargo_type ),
|
||||
OCL_SVAR( OC_UINT8, Subsidy, age ),
|
||||
OCL_SVAR( OC_FILE_U8 | OC_VAR_U16, Subsidy, from ),
|
||||
OCL_SVAR( OC_FILE_U8 | OC_VAR_U16, Subsidy, to ),
|
||||
OCL_SVAR( OC_FILE_U8 | OC_VAR_U16, Subsidy, src ),
|
||||
OCL_SVAR( OC_FILE_U8 | OC_VAR_U16, Subsidy, dst ),
|
||||
|
||||
OCL_END()
|
||||
};
|
||||
|
Reference in New Issue
Block a user