- Added a NULL Defaults check to PClassActor::PropagateMark().

SVN r3921 (scripting)
This commit is contained in:
Randy Heit 2012-10-29 00:42:58 +00:00
parent b630410372
commit 35ba5b79d3

View file

@ -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();