mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Suppress compiler warning
This commit is contained in:
parent
67063ed59f
commit
f5211bbd59
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue