Definition at line 36021 of file WorldGen.cs.
36022 {
36023 int num = x - 2;
36025 bool flag = true;
36026 for (
int i = num;
i < num + 6;
i++)
36027 {
36029 {
36030 if (Main.tile[i,
j].active() || Main.tile[i,
j].wall == 0)
36031 {
36032 flag = false;
36033 break;
36034 }
36035 }
36036 }
36037 if (!flag)
36038 {
36039 return;
36040 }
36044 for (
int k = num;
k < num + 6;
k++)
36045 {
36047 {
36048 Main.tile[
k,
l].active(active:
true);
36049 Main.tile[
k,
l].type =
type;
36050 Main.tile[
k,
l].frameX = (
short)(
num4 + 18 * (
k - num));
36052 }
36053 }
36054 }
References Terraria.Main.tile, and System.type.