Fixed Archive method not calling parent class archive method

This commit is contained in:
smallmodel 2023-11-26 20:00:12 +01:00
parent 5a3638fa68
commit ecbf7f6caa
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 4 additions and 0 deletions

View file

@ -310,6 +310,8 @@ void DamageModel::EventSetKillThread(Event *ev)
void DamageModel::Archive(Archiver& arc)
{
Animate::Archive(arc);
label.Archive(arc);
arc.ArchiveSafePointer(&boundingBoxEnt);
}

View file

@ -62,6 +62,8 @@ WindowObject::WindowObject()
void WindowObject::Archive(Archiver& arc)
{
Entity::Archive(arc);
arc.ArchiveInteger(&m_iDebrisType);
arc.ArchiveString(&m_sBrokenModel);
}