mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 21:31:32 +00:00
Fix float comparison for colormap maskamt
This commit is contained in:
parent
4656a0d02c
commit
58728ec358
1 changed files with 1 additions and 1 deletions
|
@ -1220,7 +1220,7 @@ INT32 R_CreateColormap(char *p1, char *p2, char *p3)
|
|||
continue;
|
||||
if (maskcolor == extra_colormaps[i].maskcolor
|
||||
&& fadecolor == extra_colormaps[i].fadecolor
|
||||
&& fabsf((float)(maskamt - extra_colormaps[i].maskamt)) < 1.0E-36f
|
||||
&& fabs(maskamt - extra_colormaps[i].maskamt) < 1.0E-36
|
||||
&& fadestart == extra_colormaps[i].fadestart
|
||||
&& fadeend == extra_colormaps[i].fadeend
|
||||
&& fog == extra_colormaps[i].fog)
|
||||
|
|
Loading…
Reference in a new issue