Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FixChands()

static void Terraria.WorldGen.FixChands ( )
inlinestatic

Definition at line 44364 of file WorldGen.cs.

44365 {
44366 for (int i = 5; i < Main.maxTilesX - 5; i++)
44367 {
44368 for (int j = 5; j < Main.maxTilesY - 5; j++)
44369 {
44370 if (Main.tile[i, j].active())
44371 {
44372 int type = Main.tile[i, j].type;
44373 if (Main.tile[i, j].active() && (type == 35 || type == 36 || type == 170 || type == 171 || type == 172))
44374 {
44375 FixChand(i, j);
44376 }
44377 }
44378 }
44379 }
44380 }
static void FixChand(int i, int j)

References Terraria.Main.tile, and System.type.

Referenced by Terraria.IO.WorldFile.LoadWorld_Version1_Old_BeforeRelease88().