mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- Add NULL decal check to FDecalLib::ParseGenerator().
SVN r4017 (trunk)
This commit is contained in:
parent
814cb4d135
commit
6b67cd560a
1 changed files with 4 additions and 1 deletions
|
@ -631,8 +631,11 @@ void FDecalLib::ParseGenerator (FScanner &sc)
|
|||
}
|
||||
|
||||
actor->DecalGenerator = decal;
|
||||
if (decal != NULL)
|
||||
{
|
||||
decal->Users.Push (type);
|
||||
}
|
||||
}
|
||||
|
||||
void FDecalLib::ParseFader (FScanner &sc)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue