forked from Mirrorlandia_minetest/minetest
Initialise 'seabed_height' to avoid compilation warning (#8715)
This commit is contained in:
parent
0cde6fc552
commit
ce87ef397f
@ -413,7 +413,7 @@ s16 MapgenFractal::generateTerrain()
|
||||
if (vm->m_data[vi].getContent() != CONTENT_IGNORE)
|
||||
continue;
|
||||
|
||||
s16 seabed_height;
|
||||
s16 seabed_height = -MAX_MAP_GENERATION_LIMIT;
|
||||
if (noise_seabed)
|
||||
seabed_height = noise_seabed->result[index2d];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user