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

View file

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