Definition at line 46754 of file WorldGen.cs.
46755 {
46757 Tile tile = Main.tile[i,
j];
46758 int type = tile.type;
46759 tile = Main.tile[i,
j];
46760 if (tile.active())
46761 {
46762 if (type == 35)
46763 {
46765 }
46766 if (type == 36)
46767 {
46769 }
46770 if (type == 170)
46771 {
46773 }
46774 if (type == 171)
46775 {
46777 }
46778 if (type == 172)
46779 {
46781 }
46782 }
46784 {
46785 return;
46786 }
46789 tile = Main.tile[i,
j];
46791 {
46792 }
46794 {
46796 }
46799 tile = Main.tile[i,
j];
46800 num3 =
num4 + tile.frameY / 18 * -1;
46802 {
46804 {
46805 if (Main.tile[
k,
l] ==
null)
46806 {
46807 tile = (Main.tile[
k,
l] =
default(
Tile));
46808 }
46809 tile = Main.tile[
k,
l];
46810 if (tile.active())
46811 {
46812 tile = Main.tile[
k,
l];
46813 if (tile.type == type)
46814 {
46815 tile = Main.tile[
k,
l];
46816 tile.type = 34;
46817 tile = Main.tile[
k,
l];
46818 ref short frameY =
ref tile.frameY;
46819 tile = Main.tile[
k,
l];
46820 frameY = (short)(tile.frameY +
num * 54);
46821 }
46822 }
46823 }
46824 }
46825 }
References Terraria.Tile.active(), Terraria.Tile.frameX, Terraria.Tile.frameY, Terraria.Main.tile, and Terraria.Tile.type.