Definition at line 6415 of file TileDrawing.cs.
6416 {
6417 int num = 60;
6418 switch (typeCache)
6419 {
6420 case 374:
6421 num = 120;
6422 break;
6423 case 375:
6424 num = 180;
6425 break;
6426 case 461:
6427 num = 180;
6428 break;
6429 }
6430 if (tileCache.liquid != 0 ||
_rand.
Next(num * 2) != 0)
6431 {
6432 return;
6433 }
6435 rectangle.X -= 34;
6436 rectangle.Width += 68;
6437 rectangle.Y -= 100;
6438 rectangle.Height = 400;
6439 for (
int k = 0;
k < 600;
k++)
6440 {
6442 {
6445 {
6446 return;
6447 }
6448 }
6449 }
6452 if (Main.waterStyle == 14)
6453 {
6455 }
6456 else if (Main.waterStyle == 13)
6457 {
6459 }
6460 else if (Main.waterStyle == 12)
6461 {
6463 }
6464 else if (Main.waterStyle > 1)
6465 {
6466 type = 706 + Main.waterStyle - 1;
6467 }
6468 if (typeCache == 374)
6469 {
6471 }
6472 if (typeCache == 375)
6473 {
6475 }
6476 if (typeCache == 461)
6477 {
6479 if (Main.player[Main.myPlayer].ZoneCorrupt)
6480 {
6482 }
6483 if (Main.player[Main.myPlayer].ZoneCrimson)
6484 {
6486 }
6487 if (Main.player[Main.myPlayer].ZoneHallow)
6488 {
6490 }
6491 }
6494 }
References Terraria.GameContent.Drawing.TileDrawing._gore, Terraria.GameContent.Drawing.TileDrawing._rand, Terraria.Tile.liquid, Terraria.Main.myPlayer, Terraria.Gore.NewGore(), Terraria.Utilities.UnifiedRandom.Next(), Terraria.Main.player, Terraria.Gore.position, System.type, System.value, Microsoft.Xna.Framework.Graphics.Vector2, Terraria.Gore.velocity, Terraria.Main.waterStyle, and Microsoft.Xna.Framework.Vector2.Y.
Referenced by Terraria.GameContent.Drawing.TileDrawing.Draw().