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:
@ -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);
|
||||||
},
|
},
|
||||||
|
@ -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);
|
||||||
},
|
},
|
||||||
|
@ -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);
|
||||||
},
|
},
|
||||||
|
@ -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);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user