mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Better fading comments
This commit is contained in:
parent
c13f561b50
commit
c1c6b4746f
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…
Reference in a new issue