1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 13:23:53 +00:00

Add enum namespace to workaround travis.

This commit is contained in:
cc9cii 2015-03-03 08:31:06 +11:00
parent a8427c2efb
commit 7c0f5b72c5

View file

@ -110,7 +110,8 @@ namespace CSMDoc
uint32_t name = mCollection.getRecord (stage).mModified.sRecordId;
mState.getWriter().startRecord (name);
if(name != ESM::REC_SKIL && name != ESM::REC_MGEF && name != ESM::REC_SCPT)
if(name != ESM::RecNameInts::REC_SKIL &&
name != ESM::RecNameInts::REC_MGEF && name != ESM::RecNameInts::REC_SCPT)
mState.getWriter().writeHNCString ("NAME", mCollection.getId (stage));
mCollection.getRecord (stage).mModified.save (mState.getWriter());
mState.getWriter().endRecord (mCollection.getRecord (stage).mModified.sRecordId);