From 81fd7d12ed0eb49858564d4bbe0d818254cd4086 Mon Sep 17 00:00:00 2001 From: Alejandro Aguilera Date: Fri, 1 Apr 2011 20:40:23 +0200 Subject: [PATCH] Add compatibility for wildgrass mod --- textures.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/textures.py b/textures.py index 13adb12..988bff2 100644 --- a/textures.py +++ b/textures.py @@ -1181,7 +1181,10 @@ special_map[92] = range(6) # cake! # grass and leaves are graysacle in terrain.png # we treat them as special so we can manually tint them # it is unknown how the specific tint (biomes) is calculated -special_map[2] = (0,) # grass +special_map[2] = range(11) # grass, grass has not ancildata but is used + # in the mod WildGrass, and this small fix + # shows the map as expected, and is harmless + # for normal maps special_map[18] = range(16) # leaves, birch, normal or pine leaves (not implemented)