mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 19:28:49 -04:00
Remove spammy warning from biome generation.
This commit is contained in:
parent
aa04731efb
commit
d6ec78bb44
@ -305,7 +305,6 @@ const GenerationStructure = struct {
|
||||
const subBiome = biome.biome.subBiomes.sample(&seed).*;
|
||||
var maxCenterOffset: f32 = biome.biome.radius - subBiome.radius - 32;
|
||||
if(maxCenterOffset < 0) {
|
||||
std.log.warn("SubBiome {s} of {s} is too big", .{subBiome.id, biome.biome.id});
|
||||
maxCenterOffset = 0;
|
||||
}
|
||||
const point = biome.pos +% @as(Vec2i, @intFromFloat(random.nextPointInUnitCircle(&seed)*@as(Vec2f, @splat(maxCenterOffset))));
|
||||
|
Loading…
x
Reference in New Issue
Block a user