summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockLeaves.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/blocks/BlockLeaves.h')
-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; \
}