mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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) ? \
|
(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…
Add table
Reference in a new issue