mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed Archive method not calling parent class archive method
This commit is contained in:
parent
5a3638fa68
commit
ecbf7f6caa
2 changed files with 4 additions and 0 deletions
|
@ -310,6 +310,8 @@ void DamageModel::EventSetKillThread(Event *ev)
|
|||
|
||||
void DamageModel::Archive(Archiver& arc)
|
||||
{
|
||||
Animate::Archive(arc);
|
||||
|
||||
label.Archive(arc);
|
||||
arc.ArchiveSafePointer(&boundingBoxEnt);
|
||||
}
|
||||
|
|
|
@ -62,6 +62,8 @@ WindowObject::WindowObject()
|
|||
|
||||
void WindowObject::Archive(Archiver& arc)
|
||||
{
|
||||
Entity::Archive(arc);
|
||||
|
||||
arc.ArchiveInteger(&m_iDebrisType);
|
||||
arc.ArchiveString(&m_sBrokenModel);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue