Fix wool coloring in texture support

This commit is contained in:
Mike Primm 2011-07-19 01:47:46 -05:00
parent e03c141d3e
commit 09fd5abc2f
2 changed files with 4 additions and 3 deletions

View file

@ -164,7 +164,7 @@ public class HDBlockModels {
}
}
}
map[off] = (short)((255*raw_w) / (nativeres*nativeres*nativeres));
map[off] = (short)((255*raw_w) / (res*res*res));
if(map[off] > 255) map[off] = 255;
if(map[off] < 0) map[off] = 0;
}