probable fix for pink boxes

This commit is contained in:
Bill Currie 2000-10-05 15:09:09 +00:00
parent 0a8dc3c98f
commit d48fbdd030
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ VID_SetPalette (unsigned char *palette)
v = (255<<24) + (r<<0) + (g<<8) + (b<<16);
*table++ = v;
}
d_8to24table[255] &= 0xffffff; // 255 is transparent
d_8to24table[255] = 0; // 255 is transparent
// JACK: 3D distance calcs - k is last closest, l is the distance.
// FIXME: Precalculate this and cache to disk.