mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-15 08:52:02 +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
|
||||
if (Defaults != NULL)
|
||||
{
|
||||
GC::Mark(((AActor *)Defaults)->Damage);
|
||||
}
|
||||
|
||||
// marked += ActorInfo->NumOwnedStates * sizeof(FState);
|
||||
return Super::PropagateMark();
|
||||
|
|
Loading…
Reference in a new issue