Expose OF_Transient to actors as bNoSaveGame

This commit is contained in:
Ricardo Luís Vaz Silva 2023-02-13 17:03:43 -03:00 committed by Christoph Oelckers
commit e61ab4cbe2
3 changed files with 8 additions and 0 deletions

View file

@ -604,6 +604,8 @@ void FSerializer::WriteObjects()
{
auto obj = w->mDObjects[i];
if(obj->ObjectFlags & OF_Transient) continue;
BeginObject(nullptr);
w->Key("classtype");
w->String(obj->GetClass()->TypeName.GetChars());