projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67063ed
)
Suppress compiler warning
author
Craig Robbins
<kde.psych@gmail.com>
Thu, 18 Dec 2014 09:29:04 +0000
(19:29 +1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Thu, 18 Dec 2014 09:29:04 +0000
(19:29 +1000)
src/mg_biome.cpp
patch
|
blob
|
history
diff --git
a/src/mg_biome.cpp
b/src/mg_biome.cpp
index afe84e6d86fa7ffe311f0f217e79c12eef4677a9..a3a6d5128ec2ee571b8eb7aba96d4999d6f3ff8c 100644
(file)
--- a/
src/mg_biome.cpp
+++ b/
src/mg_biome.cpp
@@
-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 (s
ize_t
i = 0; i != sx * sy; i++)
+ for (s
32
i = 0; i != sx * sy; i++)
biomeid_map[i] = getBiome(heat_map[i], humidity_map[i], height_map[i])->id;
}