Skip to content

Commit

Permalink
Suppress compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno- committed Dec 18, 2014
1 parent 67063ed commit f5211bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mg_biome.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit f5211bb

Please sign in to comment.