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
This commit is contained in:
parent
eddc360bd7
commit
6cf4772b54
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Leaves can be this many blocks that away (inclusive) from the log not to decay
|
// 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))
|
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);
|
SetNibble(m_BlockMeta, a_RelX, a_RelY, a_RelZ, Meta & 0x07);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user