Better fading comments

This commit is contained in:
mazmazz 2018-03-31 00:10:46 -04:00
parent c13f561b50
commit c1c6b4746f

View file

@ -7129,7 +7129,7 @@ void T_Fade(fade_t *d)
// fade out // fade out
if (rover->alpha > d->destvalue) 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->speed <= d->destvalue + d->speed)
{ {
if (rover->alpha != d->destvalue) if (rover->alpha != d->destvalue)
@ -7197,7 +7197,7 @@ void T_Fade(fade_t *d)
} }
else // fade in else // fade in
{ {
// we'll reach our destvalue // finish fading in
if (rover->alpha + d->speed >= d->destvalue - d->speed) if (rover->alpha + d->speed >= d->destvalue - d->speed)
{ {
if (rover->alpha != d->destvalue) if (rover->alpha != d->destvalue)