Update v_video.c

This commit is contained in:
Jaime Passos 2019-12-12 23:30:09 -03:00
parent 4e814cd424
commit b0ffe7ed70
1 changed files with 2 additions and 1 deletions

View File

@ -337,7 +337,8 @@ static void LoadPalette(const char *lumpname)
pMasterPalette[i].s.alpha = pLocalPalette[i].s.alpha = 0xFF;
// lerp of colour cubing! if you want, make it smoother yourself
V_CubeApply(&pLocalPalette[i].s.red, &pLocalPalette[i].s.green, &pLocalPalette[i].s.blue);
if (Cubeapply)
V_CubeApply(&pLocalPalette[i].s.red, &pLocalPalette[i].s.green, &pLocalPalette[i].s.blue);
}
}