summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockLeaves.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-28 23:58:33 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-28 23:58:33 +0200
commit0425d8c8a5f68ca571da87086180070f26156e82 (patch)
treec0f7d86db1260602a2cdffc24f8c23fcd2a10b2e /source/blocks/BlockLeaves.h
parentRemoved false positives in leakfinder for webserver - by using raw char arrays instead of std::string for const data. (diff)
downloadcuberite-0425d8c8a5f68ca571da87086180070f26156e82.tar
cuberite-0425d8c8a5f68ca571da87086180070f26156e82.tar.gz
cuberite-0425d8c8a5f68ca571da87086180070f26156e82.tar.bz2
cuberite-0425d8c8a5f68ca571da87086180070f26156e82.tar.lz
cuberite-0425d8c8a5f68ca571da87086180070f26156e82.tar.xz
cuberite-0425d8c8a5f68ca571da87086180070f26156e82.tar.zst
cuberite-0425d8c8a5f68ca571da87086180070f26156e82.zip
Diffstat (limited to '')
-rw-r--r--source/blocks/BlockLeaves.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blocks/BlockLeaves.h b/source/blocks/BlockLeaves.h
index 57cfad5da..c7bca92ac 100644
--- a/source/blocks/BlockLeaves.h
+++ b/source/blocks/BlockLeaves.h
@@ -12,7 +12,7 @@
#define PROCESS_NEIGHBOR(x,y,z) \
switch (a_Area.GetBlockType(x, y, z)) \
{ \
- case E_BLOCK_LEAVES: a_Area.SetBlockType(x, y, z, E_BLOCK_SPONGE + i + 1); break; \
+ case E_BLOCK_LEAVES: a_Area.SetBlockType(x, y, z, (BLOCKTYPE)(E_BLOCK_SPONGE + i + 1)); break; \
case E_BLOCK_LOG: return true; \
}