mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
T_FadeColormap: Fade subtraction error
This commit is contained in:
parent
138d76a1b8
commit
72e0702be6
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…
Add table
Reference in a new issue