mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 21:20:54 +00:00
T_FadeColormap: Fade subtraction error
This commit is contained in:
parent
51a2982226
commit
d2f636d5a2
1 changed files with 2 additions and 2 deletions
|
@ -7533,12 +7533,12 @@ void T_FadeColormap(fadecolormap_t *d)
|
||||||
(dest-src < 0) ? \
|
(dest-src < 0) ? \
|
||||||
max(\
|
max(\
|
||||||
min(cur,\
|
min(cur,\
|
||||||
src + (UINT8)FixedMul(dest-src, factor)),\
|
src + (INT16)FixedMul(dest-src, factor)),\
|
||||||
dest)\
|
dest)\
|
||||||
: (dest-src > 0) ? \
|
: (dest-src > 0) ? \
|
||||||
min(\
|
min(\
|
||||||
max(cur,\
|
max(cur,\
|
||||||
src + (UINT8)FixedMul(dest-src, factor)),\
|
src + (INT16)FixedMul(dest-src, factor)),\
|
||||||
dest)\
|
dest)\
|
||||||
: \
|
: \
|
||||||
dest\
|
dest\
|
||||||
|
|
Loading…
Reference in a new issue