Undo bad fix - broke some models

This commit is contained in:
Mike Primm 2011-07-19 16:39:09 -05:00
parent 684a82733c
commit 2dfa729260
2 changed files with 3 additions and 3 deletions

View file

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