src/openttd.cpp
changeset 8811 1a3302cf5d5c
parent 8809 e0d09d74e805
child 8836 f6f1ea3d7e93
equal deleted inserted replaced
8810:33066120c736 8811:1a3302cf5d5c
  1961 	if (CheckSavegameVersion(32)) {
  1961 	if (CheckSavegameVersion(32)) {
  1962 		Industry *i;
  1962 		Industry *i;
  1963 
  1963 
  1964 		for (TileIndex t = 0; t < map_size; t++) {
  1964 		for (TileIndex t = 0; t < map_size; t++) {
  1965 			if (IsTileType(t, MP_CLEAR) && IsClearGround(t, CLEAR_FIELDS)) {
  1965 			if (IsTileType(t, MP_CLEAR) && IsClearGround(t, CLEAR_FIELDS)) {
       
  1966 				/* remove fields */
  1966 				MakeClear(t, CLEAR_GRASS, 3);
  1967 				MakeClear(t, CLEAR_GRASS, 3);
       
  1968 			} else if (IsTileType(t, MP_CLEAR) || IsTileType(t, MP_TREES)) {
       
  1969 				/* remove fences around fields */
       
  1970 				SetFenceSE(t, 0);
       
  1971 				SetFenceSW(t, 0);
  1967 			}
  1972 			}
  1968 		}
  1973 		}
  1969 
  1974 
  1970 		FOR_ALL_INDUSTRIES(i) {
  1975 		FOR_ALL_INDUSTRIES(i) {
  1971 			uint j;
  1976 			uint j;