diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Generating/FinishGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 6e3f8b446..ca1798eb5 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -931,7 +931,7 @@ void cFinishGenSprinkleFoliage::GenFinish(cChunkDesc & a_ChunkDesc) else if ((val1 > 0.5) && (val2 < -0.5)) { float val3 = m_Noise.CubicNoise2D(xx * 0.01f + 10, zz * 0.01f + 10); - a_ChunkDesc.SetBlockTypeMeta(x, ++Top, z, E_BLOCK_PUMPKIN, static_cast<int>(val3 * 8) % 4); + a_ChunkDesc.SetBlockTypeMeta(x, ++Top, z, E_BLOCK_PUMPKIN, static_cast<unsigned>(val3 * 8) % 4); } break; } // case E_BLOCK_GRASS |