mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Make some NIF loading messages less confusing
This commit is contained in:
parent
a8ed567177
commit
baefff323c
@ -354,14 +354,14 @@ namespace Nif
|
||||
if (rec.empty())
|
||||
{
|
||||
std::stringstream error;
|
||||
error << "Record number " << i << " out of " << recNum << " is blank.";
|
||||
error << "Record type is blank (index " << i << ")";
|
||||
throw Nif::Exception(error.str(), filename);
|
||||
}
|
||||
|
||||
// Record separator. Some Havok records in Oblivion do not have it.
|
||||
if (hasRecordSeparators && !rec.starts_with("bhk"))
|
||||
if (nif.getInt())
|
||||
Log(Debug::Warning) << "NIFFile Warning: Record number " << i << " out of " << recNum
|
||||
Log(Debug::Warning) << "NIFFile Warning: Record of type " << rec << ", index " << i
|
||||
<< " is preceded by a non-zero separator. File: " << filename;
|
||||
|
||||
const auto entry = factories.find(rec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user