1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Spacing fixes

This commit is contained in:
ShadowNinja 2021-12-01 18:54:12 -05:00 committed by rubenwardy
parent 88b21a72f1
commit 7993909fab
31 changed files with 82 additions and 83 deletions

View file

@ -498,8 +498,8 @@ void OreVein::generate(MMVManip *vm, int mapseed, u32 blockseed,
}
// randval ranges from -1..1
/*
Note: can generate values slightly larger than 1
/*
Note: can generate values slightly larger than 1
but this can't be changed as mapgen must be deterministic accross versions.
*/
float randval = (float)pr.next() / float(pr.RANDOM_RANGE / 2) - 1.f;