mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Suppress compiler warning
This commit is contained in:
parent
67063ed59f
commit
f5211bbd59
@ -72,7 +72,7 @@ BiomeManager::~BiomeManager()
|
||||
void BiomeManager::calcBiomes(s16 sx, s16 sy, float *heat_map,
|
||||
float *humidity_map, s16 *height_map, u8 *biomeid_map)
|
||||
{
|
||||
for (size_t i = 0; i != sx * sy; i++)
|
||||
for (s32 i = 0; i != sx * sy; i++)
|
||||
biomeid_map[i] = getBiome(heat_map[i], humidity_map[i], height_map[i])->id;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user