mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 00:39:59 +00:00
926c825d0c
Changed records are those where DELE is located after NAME sub-record. And DELE is the last sub-record.
21 lines
350 B
C++
21 lines
350 B
C++
#include "util.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
bool readDeleSubRecord(ESMReader &esm)
|
|
{
|
|
if (esm.isNextSub("DELE"))
|
|
{
|
|
esm.getSubName();
|
|
esm.skipHSub();
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
void writeDeleSubRecord(ESMWriter &esm)
|
|
{
|
|
esm.writeHNString("DELE", "");
|
|
}
|
|
}
|