mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Code style fixes.
This commit is contained in:
parent
24e9db07ec
commit
af3f696423
43 changed files with 493 additions and 484 deletions
|
@ -627,9 +627,9 @@ bool Settings::getNoiseParamsFromGroup(const std::string &name,
|
|||
group->getFloatNoEx("offset", np.offset);
|
||||
group->getFloatNoEx("scale", np.scale);
|
||||
|
||||
std::optional<v3f> spread;
|
||||
std::optional<v3f> spread;
|
||||
if (group->getV3FNoEx("spread", spread) && spread.has_value())
|
||||
np.spread = *spread;
|
||||
np.spread = *spread;
|
||||
|
||||
group->getS32NoEx("seed", np.seed);
|
||||
group->getU16NoEx("octaves", np.octaves);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue