Skip to content

Commit

Permalink
- fixed inverted blend in flash fader
Browse files Browse the repository at this point in the history
Adventure of Square and Doom 64: Retribution are good test cases for this issue
  • Loading branch information
alexey-lysiuk committed Jan 13, 2019
1 parent 2200e68 commit bd964d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_shared/a_flashfader.cpp
Expand Up @@ -82,7 +82,7 @@ void DFlashFader::Tick ()
Destroy ();
return;
}
SetBlend ((float)RemainingTics / (float)TotalTics);
SetBlend (1.f - (float)RemainingTics / (float)TotalTics);
}

void DFlashFader::SetBlend (float time)
Expand Down

0 comments on commit bd964d4

Please sign in to comment.