1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-05 23:49:42 +00:00
openmw/components/esm/util.cpp
2015-07-10 00:29:30 +03:00

21 lines
356 B
C++

#include "util.hpp"
#include <cstdint>
namespace ESM
{
bool readDeleSubRecord(ESMReader &esm)
{
if (esm.isNextSub("DELE"))
{
esm.skipHSub();
return true;
}
return false;
}
void writeDeleSubRecord(ESMWriter &esm)
{
esm.writeHNT("DELE", static_cast<int32_t>(0));
}
}