- properly un-count faded out decals without involving the Destroy method.

This commit is contained in:
Christoph Oelckers 2019-02-07 09:36:39 +01:00
commit 9dec214c15
3 changed files with 16 additions and 0 deletions

View file

@ -76,6 +76,7 @@ void DDecalFader::Tick ()
}
else if (Level->maptime >= TimeToEndDecay)
{
TheDecal->Expired(); // for impact decal bookkeeping.
TheDecal->Destroy (); // remove the decal
Destroy (); // remove myself
return;