mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-27 23:15:34 +00:00
Respect ignored flag in navmeshtool and groundcover
This commit is contained in:
parent
6c87219ba3
commit
22d02e86b0
1 changed files with 5 additions and 0 deletions
|
@ -196,6 +196,11 @@ namespace EsmLoader
|
||||||
{
|
{
|
||||||
const ESM::NAME recName = reader.getRecName();
|
const ESM::NAME recName = reader.getRecName();
|
||||||
reader.getRecHeader();
|
reader.getRecHeader();
|
||||||
|
if (reader.getRecordFlags() & ESM::FLAG_Ignored)
|
||||||
|
{
|
||||||
|
reader.skipRecord();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
loadRecord(query, recName, reader, content);
|
loadRecord(query, recName, reader, content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue