- print a warning if a decal definition cannot find an animator.

This is important because DECALDEF cannot tentatively find animators declared after the decal.
This commit is contained in:
Christoph Oelckers 2017-08-12 12:30:42 +02:00
parent aa8424982c
commit 4261a0c592

View file

@ -562,6 +562,10 @@ void FDecalLib::ParseDecal (FScanner &sc)
case DECAL_ANIMATOR:
sc.MustGetString ();
newdecal.Animator = FindAnimator (sc.String);
if (newdecal.Animator == nullptr)
{
sc.ScriptMessage("Unable to find animator %s", sc.String);
}
break;
case DECAL_LOWERDECAL: