Definition at line 35394 of file WorldGen.cs.
35395 {
35396 int num = x - 1;
35398 bool flag = true;
35399 for (
int i = num;
i < num + 3;
i++)
35400 {
35402 {
35403 if (Main.tile[i,
j].active() || Main.tile[i,
j].wall == 0)
35404 {
35405 flag = false;
35406 break;
35407 }
35408 }
35409 }
35410 if (!flag)
35411 {
35412 return;
35413 }
35415 while (style > 35)
35416 {
35418 style -= 36;
35419 }
35420 int num4 = style * 54;
35422 for (
int k = num;
k < num + 3;
k++)
35423 {
35425 {
35426 Main.tile[
k,
l].active(active:
true);
35427 Main.tile[
k,
l].type =
type;
35428 Main.tile[
k,
l].frameX = (
short)(
num4 + 18 * (
k - num));
35430 }
35431 }
35432 }
References Terraria.Main.tile, and System.type.