fix fatal CKStateChunk error

This commit is contained in:
2023-09-01 14:55:31 +08:00
parent eea15c2028
commit 5c1af5be24
11 changed files with 153 additions and 6 deletions

View File

@ -0,0 +1,20 @@
#include "CK3dEntity.hpp"
#include "../CKStateChunk.hpp"
namespace LibCmo::CK2::ObjImpls {
bool CK3dEntity::Save(CKStateChunk* chunk, CKFileVisitor* file, CKDWORD flags) {
bool suc = CKRenderObject::Save(chunk, file, flags);
if (!suc) return false;
return true;
}
bool CK3dEntity::Load(CKStateChunk* chunk, CKFileVisitor* file) {
bool suc = CKRenderObject::Load(chunk, file);
if (!suc) return false;
return true;
}
}