TerrainType fix

TerrainType was referred to as Type.