Definition at line 37324 of file WorldGen.cs.
37325 {
37328 for (int i = x; i < x + 2; i++)
37329 {
37331 {
37332 if (Main.tile[i,
j].active() || Main.tile[i,
j].wall == 0)
37333 {
37335 break;
37336 }
37337 }
37338 }
37340 {
37341 return;
37342 }
37343 int num2 = style * 36;
37345 for (
int k = x;
k < x + 2;
k++)
37346 {
37348 {
37349 Main.tile[
k,
l].active(active:
true);
37350 Main.tile[
k,
l].type = type;
37351 Main.tile[
k,
l].frameX = (short)(
num2 + 18 * (
k - x));
37352 Main.tile[
k,
l].frameY = (short)(
num3 + 18 * (
l -
num));
37353 }
37354 }
37355 }
References Terraria.Main.tile.