mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
fix structures choosing
This commit is contained in:
parent
09e9c570c0
commit
dbaea71398
3 changed files with 7 additions and 8 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue