Skip to content

Commit

Permalink
Fix saving SCENEOBJ_CHUNK_SURFACE chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
ForserX committed Aug 27, 2024
1 parent dc00225 commit 19d13bc
Show file tree
Hide file tree
Showing 2 changed files with 955 additions and 962 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ void CSceneObject::SaveStream(IWriter& F)

if (m_Flags.test(flUseSurface))
{
F.open_chunk(SCENEOBJ_CHUNK_FLAGS);
F.open_chunk(SCENEOBJ_CHUNK_SURFACE);

F.w_u32(m_Surfaces.size());
for (SurfaceIt sf_it = m_Surfaces.begin(); sf_it != m_Surfaces.end(); ++sf_it)
{
Expand Down
Loading

0 comments on commit 19d13bc

Please sign in to comment.