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

◆ UndergroundDesertCheck()

static bool Terraria.Liquid.UndergroundDesertCheck ( int x,
int y )
inlinestaticprivate

Definition at line 1208 of file Liquid.cs.

1209 {
1210 int num = 3;
1211 for (int i = x - num; i <= x + num; i++)
1212 {
1213 for (int j = y - num; j <= y + num; j++)
1214 {
1215 if (WorldGen.InWorld(i, j) && (Main.tile[i, j].wall == 187 || Main.tile[i, j].wall == 216))
1216 {
1217 return true;
1218 }
1219 }
1220 }
1221 return false;
1222 }

References Terraria.WorldGen.InWorld(), Terraria.Main.tile, Terraria.Liquid.x, and Terraria.Liquid.y.

Referenced by Terraria.Liquid.LavaCheck().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: