diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-16 20:44:07 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-16 20:44:07 +0200 |
commit | 3efd8fdabbcbde30f41bf4796b72bce5c6778f70 (patch) | |
tree | 45266060fabc71e6a54b901fc7fb86ce257f559f /source/BlockID.cpp | |
parent | Leaves: Applied patch by Luksor. (diff) | |
download | cuberite-3efd8fdabbcbde30f41bf4796b72bce5c6778f70.tar cuberite-3efd8fdabbcbde30f41bf4796b72bce5c6778f70.tar.gz cuberite-3efd8fdabbcbde30f41bf4796b72bce5c6778f70.tar.bz2 cuberite-3efd8fdabbcbde30f41bf4796b72bce5c6778f70.tar.lz cuberite-3efd8fdabbcbde30f41bf4796b72bce5c6778f70.tar.xz cuberite-3efd8fdabbcbde30f41bf4796b72bce5c6778f70.tar.zst cuberite-3efd8fdabbcbde30f41bf4796b72bce5c6778f70.zip |
Diffstat (limited to 'source/BlockID.cpp')
-rw-r--r-- | source/BlockID.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp index 269bc2f3c..42f4951e6 100644 --- a/source/BlockID.cpp +++ b/source/BlockID.cpp @@ -195,16 +195,23 @@ public: // Spread blocks g_BlockSpreadLightFalloff[E_BLOCK_AIR] = 1; + g_BlockSpreadLightFalloff[E_BLOCK_CAKE] = 1; g_BlockSpreadLightFalloff[E_BLOCK_CHEST] = 1; g_BlockSpreadLightFalloff[E_BLOCK_CROPS] = 1; + g_BlockSpreadLightFalloff[E_BLOCK_FENCE] = 1; + g_BlockSpreadLightFalloff[E_BLOCK_FENCE_GATE] = 1; g_BlockSpreadLightFalloff[E_BLOCK_FIRE] = 1; g_BlockSpreadLightFalloff[E_BLOCK_GLASS] = 1; + g_BlockSpreadLightFalloff[E_BLOCK_GLASS_PLANE] = 1; g_BlockSpreadLightFalloff[E_BLOCK_GLOWSTONE] = 1; + g_BlockSpreadLightFalloff[E_BLOCK_IRON_BARS] = 1; + g_BlockSpreadLightFalloff[E_BLOCK_IRON_DOOR] = 1; g_BlockSpreadLightFalloff[E_BLOCK_LEAVES] = 1; g_BlockSpreadLightFalloff[E_BLOCK_SIGN_POST] = 1; g_BlockSpreadLightFalloff[E_BLOCK_TORCH] = 1; g_BlockSpreadLightFalloff[E_BLOCK_VINES] = 1; g_BlockSpreadLightFalloff[E_BLOCK_WALLSIGN] = 1; + g_BlockSpreadLightFalloff[E_BLOCK_WOODEN_DOOR] = 1; // Light in water and lava dissapears faster: g_BlockSpreadLightFalloff[E_BLOCK_LAVA] = 2; g_BlockSpreadLightFalloff[E_BLOCK_STATIONARY_LAVA] = 2; |