Skip to content
Snippets Groups Projects
Commit f5211bbd authored by Zeno-'s avatar Zeno-
Browse files

Suppress compiler warning

parent 67063ed5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment