mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 04:36:21 +00:00
Better fading comments
This commit is contained in:
parent
7d5b40a306
commit
88be5fe27c
1 changed files with 2 additions and 2 deletions
|
|
@ -7129,7 +7129,7 @@ void T_Fade(fade_t *d)
|
|||
// fade out
|
||||
if (rover->alpha > d->destvalue)
|
||||
{
|
||||
// we'll reach our destvalue
|
||||
// finish fading out
|
||||
if (rover->alpha - d->speed <= d->destvalue + d->speed)
|
||||
{
|
||||
if (rover->alpha != d->destvalue)
|
||||
|
|
@ -7197,7 +7197,7 @@ void T_Fade(fade_t *d)
|
|||
}
|
||||
else // fade in
|
||||
{
|
||||
// we'll reach our destvalue
|
||||
// finish fading in
|
||||
if (rover->alpha + d->speed >= d->destvalue - d->speed)
|
||||
{
|
||||
if (rover->alpha != d->destvalue)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue