2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-29 07:47:48 +00:00

fix: not being able to load zones without progress

This commit is contained in:
Jan Laupetin
2025-10-15 21:28:03 +01:00
parent 6a84d1ea68
commit b35973db8a
2 changed files with 2 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ using namespace IW4;
bool ObjWriter::DumpZone(AssetDumpingContext& context) const
{
#define REGISTER_DUMPER(dumperType, poolName) \
#define REGISTER_DUMPER(dumperType, poolName) \
if (assetPools->poolName && ObjWriting::ShouldHandleAssetType(dumperType::AssetType_t::EnumEntry)) \
{ \
dumpers.emplace_back(std::make_unique<dumperType>(*assetPools->poolName)); \