summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-07-03 21:44:03 +0200
committerworktycho <work.tycho@gmail.com>2015-07-03 21:44:03 +0200
commitfa100d9345290de1a564a363b569cca624e78535 (patch)
tree604fb911a62ba9fe62b1eeea95b9709ed5416ce5 /src/BlockInfo.cpp
parentMerge pull request #2306 from cuberite/FixNeighborChangedLoop (diff)
parentMoved grabbing the light value to after the transparency check. (diff)
downloadcuberite-fa100d9345290de1a564a363b569cca624e78535.tar
cuberite-fa100d9345290de1a564a363b569cca624e78535.tar.gz
cuberite-fa100d9345290de1a564a363b569cca624e78535.tar.bz2
cuberite-fa100d9345290de1a564a363b569cca624e78535.tar.lz
cuberite-fa100d9345290de1a564a363b569cca624e78535.tar.xz
cuberite-fa100d9345290de1a564a363b569cca624e78535.tar.zst
cuberite-fa100d9345290de1a564a363b569cca624e78535.zip
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 44b1772e2..c0ae5e945 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -86,7 +86,7 @@ void cBlockInfo::Initialize(cBlockInfoArray & a_Info)
a_Info[E_BLOCK_ENDER_CHEST ].m_SpreadLightFalloff = 1;
a_Info[E_BLOCK_END_PORTAL ].m_SpreadLightFalloff = 1;
a_Info[E_BLOCK_END_PORTAL_FRAME ].m_SpreadLightFalloff = 1;
- a_Info[E_BLOCK_FARMLAND ].m_SpreadLightFalloff = 15;
+ a_Info[E_BLOCK_FARMLAND ].m_SpreadLightFalloff = 1;
a_Info[E_BLOCK_FENCE ].m_SpreadLightFalloff = 1;
a_Info[E_BLOCK_FENCE_GATE ].m_SpreadLightFalloff = 1;
a_Info[E_BLOCK_FIRE ].m_SpreadLightFalloff = 1;
@@ -204,7 +204,6 @@ void cBlockInfo::Initialize(cBlockInfoArray & a_Info)
a_Info[E_BLOCK_ENDER_CHEST ].m_Transparent = true;
a_Info[E_BLOCK_END_PORTAL ].m_Transparent = true;
a_Info[E_BLOCK_END_PORTAL_FRAME ].m_Transparent = true;
- a_Info[E_BLOCK_FARMLAND ].m_Transparent = true;
a_Info[E_BLOCK_FENCE ].m_Transparent = true;
a_Info[E_BLOCK_FENCE_GATE ].m_Transparent = true;
a_Info[E_BLOCK_FIRE ].m_Transparent = true;