- Add NULL decal check to FDecalLib::ParseGenerator().

SVN r4017 (trunk)
This commit is contained in:
Randy Heit 2013-01-03 03:07:18 +00:00
parent 814cb4d135
commit 6b67cd560a

View file

@ -631,7 +631,10 @@ void FDecalLib::ParseGenerator (FScanner &sc)
}
actor->DecalGenerator = decal;
decal->Users.Push (type);
if (decal != NULL)
{
decal->Users.Push (type);
}
}
void FDecalLib::ParseFader (FScanner &sc)