0

Better handling of the biome tinting images.

If they're not found with _find_file, then look in the EXTRACTEDBIOME
folder in the worlddir.
This commit is contained in:
Andrew Chin
2010-12-05 01:35:12 -05:00
parent 251a89b7dc
commit e96bb91b82
3 changed files with 27 additions and 13 deletions

View File

@@ -503,7 +503,7 @@ class ChunkRenderer(object):
tileEntities = get_tileentity_data(self.level)
if self.world.useBiomeData:
biomeColorData = textures.prepareBiomeData(self.world.worlddir,
biomeColorData = textures.getBiomeData(self.world.worlddir,
self.chunkX, self.chunkY)
# in the 8x8 block of biome data, what chunk is this?l
startX = (self.chunkX - int(math.floor(self.chunkX/8)*8))