Hopefully fixed lighting around chests and crops
git-svn-id: http://mc-server.googlecode.com/svn/trunk@562 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
1cca9b13b3
commit
e52229d0d6
@ -195,12 +195,15 @@ public:
|
|||||||
|
|
||||||
// Spread blocks
|
// Spread blocks
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_AIR] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_AIR] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_CHEST] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_CROPS] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_FIRE] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_FIRE] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_GLASS] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_GLASS] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_GLOWSTONE] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_GLOWSTONE] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_LEAVES] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_LEAVES] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_SIGN_POST] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_SIGN_POST] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_TORCH] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_TORCH] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_VINES] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_WALLSIGN] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_WALLSIGN] = 1;
|
||||||
// Light in water and lava dissapears faster:
|
// Light in water and lava dissapears faster:
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_LAVA] = 2;
|
g_BlockSpreadLightFalloff[E_BLOCK_LAVA] = 2;
|
||||||
@ -211,6 +214,8 @@ public:
|
|||||||
// Transparent blocks
|
// Transparent blocks
|
||||||
g_BlockTransparent[E_BLOCK_AIR] = true;
|
g_BlockTransparent[E_BLOCK_AIR] = true;
|
||||||
g_BlockTransparent[E_BLOCK_BROWN_MUSHROOM] = true;
|
g_BlockTransparent[E_BLOCK_BROWN_MUSHROOM] = true;
|
||||||
|
g_BlockTransparent[E_BLOCK_CHEST] = true;
|
||||||
|
g_BlockTransparent[E_BLOCK_CROPS] = true;
|
||||||
g_BlockTransparent[E_BLOCK_FIRE] = true;
|
g_BlockTransparent[E_BLOCK_FIRE] = true;
|
||||||
g_BlockTransparent[E_BLOCK_GLASS] = true;
|
g_BlockTransparent[E_BLOCK_GLASS] = true;
|
||||||
g_BlockTransparent[E_BLOCK_ICE] = true;
|
g_BlockTransparent[E_BLOCK_ICE] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user