2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-25 13:51:58 +00:00

fix: not passing correct zone ptr to content loader

This commit is contained in:
Jan
2025-06-22 21:21:07 +01:00
parent f5a823dc9e
commit 377ef5ca5c
4 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
// Start of the zone content // Start of the zone content
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent( zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
[&zonePtr](ZoneInputStream& stream) [zonePtr](ZoneInputStream& stream)
{ {
return std::make_unique<ContentLoader>(*zonePtr, stream); return std::make_unique<ContentLoader>(*zonePtr, stream);
}, },

View File

@ -185,7 +185,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
// Start of the zone content // Start of the zone content
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent( zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
[&zonePtr](ZoneInputStream& stream) [zonePtr](ZoneInputStream& stream)
{ {
return std::make_unique<ContentLoader>(*zonePtr, stream); return std::make_unique<ContentLoader>(*zonePtr, stream);
}, },

View File

@ -86,7 +86,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
// Start of the zone content // Start of the zone content
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent( zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
[&zonePtr](ZoneInputStream& stream) [zonePtr](ZoneInputStream& stream)
{ {
return std::make_unique<ContentLoader>(*zonePtr, stream); return std::make_unique<ContentLoader>(*zonePtr, stream);
}, },

View File

@ -204,7 +204,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
// Start of the zone content // Start of the zone content
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent( zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
[&zonePtr](ZoneInputStream& stream) [zonePtr](ZoneInputStream& stream)
{ {
return std::make_unique<ContentLoader>(*zonePtr, stream); return std::make_unique<ContentLoader>(*zonePtr, stream);
}, },