Added ability to perform reverse fades with A_SetBlend

This commit is contained in:
Major Cooke 2017-12-27 19:21:11 -06:00 committed by Rachael Alexanderson
commit fa0082aef6
3 changed files with 6 additions and 4 deletions

View file

@ -59,6 +59,7 @@ DFlashFader::DFlashFader (float r1, float g1, float b1, float a1,
void DFlashFader::OnDestroy ()
{
Blends[1][3] = 0.f; // Needed in order to cancel out the secondary fade.
SetBlend (1.f);
Super::OnDestroy();
}