summaryrefslogtreecommitdiffstats
path: root/src/Generating/Trees.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-09 15:04:12 +0100
committerMattes D <github@xoft.cz>2014-03-09 15:04:12 +0100
commit8a715db41f53dbf0ae838e7386d409fd8274e0ae (patch)
tree0ea2410e2775a93f1a97c2ff92a6c6deca9f55f1 /src/Generating/Trees.cpp
parentUpdated Core (diff)
parentFIxed int in test (diff)
downloadcuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.gz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.bz2
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.lz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.xz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.zst
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.zip
Diffstat (limited to 'src/Generating/Trees.cpp')
-rw-r--r--src/Generating/Trees.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp
index a660285d1..4909587b1 100644
--- a/src/Generating/Trees.cpp
+++ b/src/Generating/Trees.cpp
@@ -595,7 +595,7 @@ void GetPineTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise
{
break;
}
- ASSERT(LayerSize < ARRAYCOUNT(BigOs));
+ ASSERT((size_t)LayerSize < ARRAYCOUNT(BigOs));
PushCoordBlocks(a_BlockX, h, a_BlockZ, a_OtherBlocks, BigOs[LayerSize].Coords, BigOs[LayerSize].Count, E_BLOCK_LEAVES, E_META_LEAVES_CONIFER);
h--;
}