mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 19:45:38 +00:00
Another try to make it work with gcc/travis.
This commit is contained in:
parent
7c0f5b72c5
commit
66ef9d237c
1 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,8 @@
|
||||||
#include "../world/idcollection.hpp"
|
#include "../world/idcollection.hpp"
|
||||||
#include "../world/scope.hpp"
|
#include "../world/scope.hpp"
|
||||||
|
|
||||||
|
#include <components/esm/defs.hpp>
|
||||||
|
|
||||||
#include "savingstate.hpp"
|
#include "savingstate.hpp"
|
||||||
|
|
||||||
namespace ESM
|
namespace ESM
|
||||||
|
@ -110,8 +112,7 @@ namespace CSMDoc
|
||||||
uint32_t name = mCollection.getRecord (stage).mModified.sRecordId;
|
uint32_t name = mCollection.getRecord (stage).mModified.sRecordId;
|
||||||
mState.getWriter().startRecord (name);
|
mState.getWriter().startRecord (name);
|
||||||
|
|
||||||
if(name != ESM::RecNameInts::REC_SKIL &&
|
if(name != ESM::REC_SKIL && name != ESM::REC_MGEF && name != ESM::REC_SCPT)
|
||||||
name != ESM::RecNameInts::REC_MGEF && name != ESM::RecNameInts::REC_SCPT)
|
|
||||||
mState.getWriter().writeHNCString ("NAME", mCollection.getId (stage));
|
mState.getWriter().writeHNCString ("NAME", mCollection.getId (stage));
|
||||||
mCollection.getRecord (stage).mModified.save (mState.getWriter());
|
mCollection.getRecord (stage).mModified.save (mState.getWriter());
|
||||||
mState.getWriter().endRecord (mCollection.getRecord (stage).mModified.sRecordId);
|
mState.getWriter().endRecord (mCollection.getRecord (stage).mModified.sRecordId);
|
||||||
|
|
Loading…
Reference in a new issue