(svn r15170) -Fix: vehicle value is 64bit now, oldloader was reading it as 32bit
This commit is contained in:
@@ -520,8 +520,6 @@ static const OldChunks town_chunk[] = {
|
|||||||
OCL_SVAR( OC_UINT16, Town, ratings[6] ),
|
OCL_SVAR( OC_UINT16, Town, ratings[6] ),
|
||||||
OCL_SVAR( OC_UINT16, Town, ratings[7] ),
|
OCL_SVAR( OC_UINT16, Town, ratings[7] ),
|
||||||
|
|
||||||
/* XXX - This is pretty odd.. we read 32bit, but only write 16bit.. sure there is
|
|
||||||
nothing changed ? ? */
|
|
||||||
OCL_SVAR( OC_FILE_U32 | OC_VAR_U16, Town, have_ratings ),
|
OCL_SVAR( OC_FILE_U32 | OC_VAR_U16, Town, have_ratings ),
|
||||||
OCL_SVAR( OC_FILE_U32 | OC_VAR_U16, Town, statues ),
|
OCL_SVAR( OC_FILE_U32 | OC_VAR_U16, Town, statues ),
|
||||||
OCL_NULL( 2 ), ///< num_houses, no longer in use
|
OCL_NULL( 2 ), ///< num_houses, no longer in use
|
||||||
@@ -1116,7 +1114,7 @@ static const OldChunks vehicle_chunk[] = {
|
|||||||
|
|
||||||
OCL_VAR ( OC_UINT16, 1, &_old_next_ptr ),
|
OCL_VAR ( OC_UINT16, 1, &_old_next_ptr ),
|
||||||
|
|
||||||
OCL_SVAR( OC_UINT32, Vehicle, value ),
|
OCL_SVAR( OC_FILE_U32 | OC_VAR_I64, Vehicle, value ),
|
||||||
|
|
||||||
OCL_VAR ( OC_UINT16, 1, &_old_string_id ),
|
OCL_VAR ( OC_UINT16, 1, &_old_string_id ),
|
||||||
|
|
||||||
@@ -1235,7 +1233,7 @@ static const OldChunks engine_chunk[] = {
|
|||||||
OCL_SVAR( OC_UINT8, Engine, preview_company_rank ),
|
OCL_SVAR( OC_UINT8, Engine, preview_company_rank ),
|
||||||
OCL_SVAR( OC_UINT8, Engine, preview_wait ),
|
OCL_SVAR( OC_UINT8, Engine, preview_wait ),
|
||||||
|
|
||||||
OCL_NULL( 2 ), ///< Junk
|
OCL_NULL( 2 ), ///< railtype + junk
|
||||||
|
|
||||||
OCL_END()
|
OCL_END()
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user