mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Merge branch 'fix_esmtool_format' into 'master'
Fix esmtool dump format See merge request OpenMW/openmw!3348
This commit is contained in:
commit
de8869579a
@ -147,12 +147,7 @@ namespace EsmTool
|
||||
|
||||
std::cout << "\n Record: " << ESM::NAME(reader.hdr().record.typeId).toStringView();
|
||||
if constexpr (ESM::hasId<T>)
|
||||
{
|
||||
if constexpr (std::is_same_v<decltype(value.mId), ESM::FormId>)
|
||||
std::cout << "\n " << ESM::RefId(value.mId);
|
||||
else
|
||||
std::cout << "\n Id: " << value.mId;
|
||||
}
|
||||
std::cout << "\n Id: " << value.mId;
|
||||
if constexpr (ESM4::hasFlags<T>)
|
||||
std::cout << "\n Record flags: " << recordFlags(value.mFlags);
|
||||
if constexpr (ESM4::hasParent<T>)
|
||||
|
Loading…
x
Reference in New Issue
Block a user