load and save sound gen records

This commit is contained in:
Marc Zinnschlag 2014-09-23 12:18:18 +02:00
parent 147bffa7dd
commit 02247fe712
7 changed files with 36 additions and 1 deletions

View file

@ -22,4 +22,10 @@ void SoundGenerator::save(ESMWriter &esm) const
esm.writeHNOCString("SNAM", mSound);
}
void SoundGenerator::blank()
{
mType = LeftFoot;
mCreature.clear();
mSound.clear();
}
}

View file

@ -36,6 +36,8 @@ struct SoundGenerator
void load(ESMReader &esm);
void save(ESMWriter &esm) const;
void blank();
};
}
#endif