memset doesn't use bits 8+

This commit is contained in:
Bill Currie 2001-08-08 23:32:09 +00:00
parent 3047a6a4ba
commit 06946d6ab4

View file

@ -238,7 +238,7 @@ R_BuildLightMap (msurface_t *surf, byte * dest, int stride)
// set to full bright if no light data
if (!r_worldentity.model->lightdata) {
memset (&blocklights[0], 65280, 3 * size * sizeof(int));
memset (&blocklights[0], 0xff, 3 * size * sizeof(int));
goto store;
}