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

◆ FixSunflowers()

static void Terraria.WorldGen.FixSunflowers ( )
inlinestatic

Definition at line 45373 of file WorldGen.cs.

45374 {
45375 for (int i = 5; i < Main.maxTilesX - 5; i++)
45376 {
45377 for (int j = 5; (double)j < Main.worldSurface; j++)
45378 {
45379 if (Main.tile[i, j].active() && Main.tile[i, j].type == 27)
45380 {
45381 FixSunflower(i, j);
45382 }
45383 }
45384 }
45385 }
static void FixSunflower(int i, int j)

References Terraria.Main.tile, and Terraria.Main.worldSurface.

Referenced by Terraria.IO.WorldFile.LoadWorld_Version1_Old_BeforeRelease88().