From 6cf4772b54e7a8fdd3eb56465f3c272717d75fd9 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 15 Jul 2012 13:34:53 +0000 Subject: Leaves blocks allowed one more block of distance from a log block before they decay git-svn-id: http://mc-server.googlecode.com/svn/trunk@666 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/cChunk.cpp b/source/cChunk.cpp index cd94e3413..a7405ced2 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -42,7 +42,7 @@ // Leaves can be this many blocks that away (inclusive) from the log not to decay -#define LEAVES_CHECK_DISTANCE 5 +#define LEAVES_CHECK_DISTANCE 6 @@ -797,7 +797,7 @@ void cChunk::TickLeaves(int a_RelX, int a_RelY, int a_RelZ, MTRand & a_TickRando if (HasNearLog(Area, BaseX, a_RelY, BaseZ)) { - // Wood found, the leaves stay; mark them as checked: + // Log found, the leaves stay; mark them as checked: SetNibble(m_BlockMeta, a_RelX, a_RelY, a_RelZ, Meta & 0x07); return; } -- cgit v1.2.3