From 6b67cd560a617803f173fc60b3ea5cc2045cebcd Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 3 Jan 2013 03:07:18 +0000 Subject: [PATCH] - Add NULL decal check to FDecalLib::ParseGenerator(). SVN r4017 (trunk) --- src/decallib.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/decallib.cpp b/src/decallib.cpp index 56705c903..c8fe6c593 100644 --- a/src/decallib.cpp +++ b/src/decallib.cpp @@ -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)