Definition at line 38270 of file WorldGen.cs.
38271 {
38272
38273
38275 {
38276 return false;
38277 }
38283 if (Main.tile[x, y].type == 528)
38284 {
38286 }
38287 for (
int i = x -
num; i <= x +
num; i++)
38288 {
38290 {
38292 {
38294 if (
j > y && Collision.CanHitLine(
new Vector2((
float)(x * 16), (
float)(y * 16)), 1, 1,
new Vector2((
float)(i * 16), (
float)(
j * 16)), 1, 1))
38295 {
38296 num5 = ((Main.tile[i,
j].type != 528) ? (
num5 + (
j - y) * 2) : (
num5 + (
j - y) * 20));
38297 }
38299 {
38300 return false;
38301 }
38302 }
38303 }
38304 }
38305 return true;
38306 }
static bool InWorld(int x, int y, int fluff=0)
References Terraria.Collision.CanHitLine(), Terraria.ID.TileID.Sets.IsVine, and Terraria.Main.tile.