Definition at line 42122 of file WorldGen.cs.
42123 {
42124 int num;
42125 for (num = Main.tile[i,
j].frameX / 18; num >= 4; num -= 4)
42126 {
42127 }
42129 for (
num2 = Main.tile[i,
j].frameY / 18;
num2 >= 3;
num2 -= 3)
42130 {
42131 }
42133 if (num < 2)
42134 {
42136 }
42139 if ((
num3 == 1 && Main.tile[num,
num2].frameY <= 52) || (
num3 == -1 && Main.tile[num,
num2].frameY >= 432))
42140 {
42141 return;
42142 }
42144 for (
int k = num;
k < num + 4;
k++)
42145 {
42147 {
42148 if (Main.tile[
k,
l] ==
null)
42149 {
42150 Main.tile[
k,
l] =
new Tile();
42151 }
42152 if (Main.tile[
k,
l].active() && Main.tile[
k,
l].type == 209)
42153 {
42154 Main.tile[
k,
l].frameY = (
short)(Main.tile[
k,
l].frameY +
num3);
42155 }
42156 }
42157 }
42158 NetMessage.SendTileSquare(-1, num,
num2, 4, 3);
42159 }
References Terraria.NetMessage.SendTileSquare(), Terraria.DataStructures.Tile, and Terraria.Main.tile.