Definition at line 36612 of file WorldGen.cs.
36613 {
36615 {
36616 return false;
36617 }
36618 int num = 4;
36623 if (Main.tile[x, y].type == 528)
36624 {
36626 }
36627 for (
int i = x - num;
i <= x + num;
i++)
36628 {
36630 {
36632 {
36634 if (
j > y && Collision.CanHitLine(
new Vector2(x * 16, y * 16), 1, 1,
new Vector2(i * 16,
j * 16), 1, 1))
36635 {
36636 num5 = ((Main.tile[
i,
j].type != 528) ? (
num5 + (
j - y) * 2) : (
num5 + (
j - y) * 20));
36637 }
36639 {
36640 return false;
36641 }
36642 }
36643 }
36644 }
36645 return true;
36646 }
static bool InWorld(int x, int y, int fluff=0)
References Terraria.Collision.CanHitLine(), Terraria.ID.TileID.Sets.IsVine, and Terraria.Main.tile.