Suppress compiler warning

master
Craig Robbins 2014-12-18 19:29:04 +10:00
parent 67063ed59f
commit f5211bbd59
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}