1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 08:45:33 +00:00

show which file is not found

This commit is contained in:
Bret Curtis 2023-05-10 21:43:55 +02:00
parent feb10ae05b
commit 95fff7b77b

View file

@ -585,11 +585,8 @@ namespace ESM4
if (it != fileToModIndex.end())
mCtx.parentFileIndices[i] = it->second;
else
throw std::runtime_error("ESM4::Reader::updateModIndices required dependency file not loaded");
#if 0
std::cout << "Master Mod: " << mCtx.header.mMaster[i].name << ", " // FIXME: debugging only
<< formIdToString(mCtx.parentFileIndices[i]) << std::endl;
#endif
throw std::runtime_error(
"ESM4::Reader::updateModIndices required dependency '" + mHeader.mMaster[i].name + "' not found");
}
}