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

◆ Configuration_OnLoad()

void Terraria.WaterfallManager.Configuration_OnLoad ( Preferences preferences)
inlineprivate

Definition at line 69 of file WaterfallManager.cs.

70 {
71 maxWaterfallCount = Math.Max(0, preferences.Get("WaterfallDrawLimit", 1000));
72 waterfalls = new WaterfallData[maxWaterfallCount];
73 }
static byte Max(byte val1, byte val2)
Definition Math.cs:738

References System.Math.Max(), Terraria.WaterfallManager.maxWaterfallCount, and Terraria.WaterfallManager.waterfalls.

Referenced by Terraria.WaterfallManager.BindTo().