(svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either.
This commit is contained in:
@@ -1116,11 +1116,9 @@ static const OldChunks vehicle_chunk[] = {
|
||||
OCL_SVAR( OC_FILE_U16 | OC_VAR_I32, Vehicle, y_pos ),
|
||||
OCL_SVAR( OC_UINT8, Vehicle, z_pos ),
|
||||
OCL_SVAR( OC_UINT8, Vehicle, direction ),
|
||||
OCL_SVAR( OC_INT8, Vehicle, x_offs ),
|
||||
OCL_SVAR( OC_INT8, Vehicle, y_offs ),
|
||||
OCL_SVAR( OC_UINT8, Vehicle, sprite_width ),
|
||||
OCL_SVAR( OC_UINT8, Vehicle, sprite_height ),
|
||||
OCL_SVAR( OC_UINT8, Vehicle, z_height ),
|
||||
OCL_NULL( 2 ), ///< x_offs and y_offs, calculated automatically
|
||||
OCL_NULL( 2 ), ///< sprite_width and sprite_height, calculated automatically
|
||||
OCL_NULL( 1 ), ///< z_height, calculated automatically
|
||||
|
||||
OCL_SVAR( OC_UINT8, Vehicle, owner ),
|
||||
OCL_SVAR( OC_TILE, Vehicle, tile ),
|
||||
|
Reference in New Issue
Block a user