Fix issue where light would not properly recalculate.

This commit is contained in:
LexManos 2012-10-01 18:51:11 -07:00
parent 92923a3521
commit eda74ffac2
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@
else
{
- if (Block.lightOpacity[par4 & 4095] > 0)
+ if (getBlockLightOpacity(par1, par2 + 1, par3) > 0)
+ if (getBlockLightOpacity(par1, par2, par3) > 0)
{
if (par2 >= var7)
{