@@ -44,7 +44,7 @@ public Initializer(IMap map)
4444 private Dictionary < Type , Action < IMap , AbstractObject , IniFile , IniSection > > objectTypeArtInitializers
4545 = new Dictionary < Type , Action < IMap , AbstractObject , IniFile , IniSection > > ( )
4646 {
47- { typeof ( TerrainType ) , InitTerrainTypeArt } ,
47+ { typeof ( TerrainType ) , InitArtConfigGeneric } ,
4848 { typeof ( SmudgeType ) , InitSmudgeTypeArt } ,
4949 { typeof ( BuildingType ) , InitBuildingArtConfig } ,
5050 { typeof ( OverlayType ) , InitArtConfigGeneric } ,
@@ -224,13 +224,6 @@ private static void InitTerrainType(INIDefineable obj, IniFile rulesIni, IniSect
224224 terrainType . SnowOccupationBits = ( TerrainOccupation ) section . GetIntValue ( "SnowOccupationBits" , 0 ) ;
225225 terrainType . TemperateOccupationBits = ( TerrainOccupation ) section . GetIntValue ( "TemperateOccupationBits" , 0 ) ;
226226 }
227-
228- private static void InitTerrainTypeArt ( IMap map , AbstractObject obj , IniFile artIni , IniSection artSection )
229- {
230- var terrainType = ( TerrainType ) obj ;
231- terrainType . Theater = artSection . GetBooleanValue ( "Theater" , terrainType . Theater ) ;
232- terrainType . Image = artSection . GetStringValue ( "Image" , terrainType . Image ) ;
233- }
234227
235228 private static void InitSmudgeType ( INIDefineable obj , IniFile rulesIni , IniSection section )
236229 {
0 commit comments