mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-12 13:42:53 +00:00
- Added a NULL Defaults check to PClassActor::PropagateMark().
SVN r3921 (scripting)
This commit is contained in:
parent
b630410372
commit
35ba5b79d3
1 changed files with 4 additions and 1 deletions
|
@ -303,7 +303,10 @@ size_t PClassActor::PropagateMark()
|
|||
}
|
||||
}
|
||||
// Mark damage function
|
||||
GC::Mark(((AActor *)Defaults)->Damage);
|
||||
if (Defaults != NULL)
|
||||
{
|
||||
GC::Mark(((AActor *)Defaults)->Damage);
|
||||
}
|
||||
|
||||
// marked += ActorInfo->NumOwnedStates * sizeof(FState);
|
||||
return Super::PropagateMark();
|
||||
|
|
Loading…
Reference in a new issue