finish CKGroup writer
This commit is contained in:
parent
db6263cb53
commit
db23c9c952
|
@ -37,6 +37,12 @@ namespace LibCmo::CK2::ObjImpls {
|
||||||
bool suc = CKBeObject::Save(chunk, file, flags);
|
bool suc = CKBeObject::Save(chunk, file, flags);
|
||||||
if (!suc) return false;
|
if (!suc) return false;
|
||||||
|
|
||||||
|
// write grouped object
|
||||||
|
{
|
||||||
|
chunk->WriteIdentifier(CK_STATESAVEFLAGS_GROUP::CK_STATESAVE_GROUPALL);
|
||||||
|
chunk->WriteXObjectPointerArray(m_ObjectArray);
|
||||||
|
}
|
||||||
|
|
||||||
chunk->SetClassId(CK_CLASSID::CKCID_GROUP);
|
chunk->SetClassId(CK_CLASSID::CKCID_GROUP);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user