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

◆ IsTileSpelunkable() [2/2]

static bool Terraria.Main.IsTileSpelunkable ( ushort typeCache,
short tileFrameX,
short tileFrameY )
inlinestatic

Definition at line 20291 of file Main.cs.

20292 {
20293 if (tileSpelunker[typeCache])
20294 {
20295 return true;
20296 }
20297 if (typeCache == 185 && tileFrameY == 18 && tileFrameX >= 576 && tileFrameX <= 882)
20298 {
20299 return true;
20300 }
20301 if (typeCache == 186 && tileFrameX >= 864 && tileFrameX <= 1170)
20302 {
20303 return true;
20304 }
20305 return false;
20306 }
static bool[] tileSpelunker
Definition Main.cs:1467

References Terraria.Main.tileSpelunker.