mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +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) ? \
|
||||
max(\
|
||||
min(cur,\
|
||||
src + (UINT8)FixedMul(dest-src, factor)),\
|
||||
src + (INT16)FixedMul(dest-src, factor)),\
|
||||
dest)\
|
||||
: (dest-src > 0) ? \
|
||||
min(\
|
||||
max(cur,\
|
||||
src + (UINT8)FixedMul(dest-src, factor)),\
|
||||
src + (INT16)FixedMul(dest-src, factor)),\
|
||||
dest)\
|
||||
: \
|
||||
dest\
|
||||
|
|
Loading…
Reference in a new issue