fix structures choosing

This commit is contained in:
MihailRis
2024-09-24 18:31:15 +03:00
parent 09e9c570c0
commit dbaea71398
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ struct BiomeElementList {
/// @brief Entries sorted by weight descending.
std::vector<WeightedEntry> entries;
/// @brief Sum of weight values
float weightsSum;
float weightsSum = 0.0f;
/// @brief Value generation chance
float chance;