mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +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,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 a new issue