Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NotDoorStand()

static bool Terraria.DelegateMethods.NotDoorStand ( int x,
int y )
inlinestatic

Definition at line 722 of file DelegateMethods.cs.

723 {
724 if (Main.tile[x, y] != null && Main.tile[x, y].active() && Main.tile[x, y].type == 11)
725 {
726 if (Main.tile[x, y].frameX >= 18)
727 {
728 return Main.tile[x, y].frameX < 54;
729 }
730 return false;
731 }
732 return true;
733 }

References Terraria.Main.tile.

Referenced by Terraria.GameContent.SmartCursorHelper.Step_Walls().