(svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either.

This commit is contained in:
rubidium
2007-05-01 18:17:52 +00:00
parent 9b7a615887
commit 1bea3b55a6
2 changed files with 7 additions and 21 deletions

View File

@@ -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 ),