Added ability to perform reverse fades with A_SetBlend
This commit is contained in:
parent
a3399c1af2
commit
fa0082aef6
3 changed files with 6 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue