mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
Fix GL2 deluxemap 0,0,0 to 127,127,127
Checked if first byte was 0 twice instead of checking second byte.
This commit is contained in:
parent
52e72408d9
commit
581b6316b7
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ static void R_LoadLightmaps( lump_t *l, lump_t *surfs ) {
|
|||
image[j*4+2] = buf_p[j*3+2];
|
||||
|
||||
// make 0,0,0 into 127,127,127
|
||||
if ((image[j*4+0] == 0) && (image[j*4+0] == 0) && (image[j*4+2] == 0))
|
||||
if ((image[j*4+0] == 0) && (image[j*4+1] == 0) && (image[j*4+2] == 0))
|
||||
{
|
||||
image[j*4+0] =
|
||||
image[j*4+1] =
|
||||
|
|
Loading…
Reference in a new issue