Definition at line 35936 of file WorldGen.cs.
35937 {
35938 int num = x - 1;
35940 bool flag = true;
35941 for (
int i = num;
i < num + 4;
i++)
35942 {
35944 {
35945 if (Main.tile[i,
j].active() || Main.tile[i,
j].wall == 0)
35946 {
35947 flag = false;
35948 break;
35949 }
35950 }
35951 }
35952 if (!flag)
35953 {
35954 return;
35955 }
35957 int num4 = style * 54;
35958 for (
int k = num;
k < num + 4;
k++)
35959 {
35961 {
35962 Main.tile[
k,
l].active(active:
true);
35963 Main.tile[
k,
l].type =
type;
35964 Main.tile[
k,
l].frameX = (
short)(
num3 + 18 * (
k - num));
35966 }
35967 }
35968 }
References Terraria.Main.tile, and System.type.