mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Code style fixes.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user