mirror of https://github.com/ZDoom/gzdoom.git
- Add NULL decal check to FDecalLib::ParseGenerator().
SVN r4017 (trunk)
This commit is contained in:
parent
814cb4d135
commit
6b67cd560a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue