Fix bug with not doing biome shading on normal worlds

This commit is contained in:
Mike Primm 2011-07-31 10:36:43 -05:00
parent b1272d18f8
commit c2fe0f772c

View file

@ -87,7 +87,7 @@ public class TexturePackHDShader implements HDShader {
c = new Color();
scaledtp = tp.resampleTexturePack(map.getPerspective().getModelScale());
/* Biome raw data only works on normal worlds at this point */
do_biome_shading = biome_shaded && (cache.getWorld().getEnvironment() != Environment.NORMAL);
do_biome_shading = biome_shaded && (cache.getWorld().getEnvironment() == Environment.NORMAL);
}
/**
* Get our shader