mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-02 22:06:40 +00:00
Merge branch 'soundgenorder' into 'master'
Write SoundGens after their creatures See merge request OpenMW/openmw!4420
This commit is contained in:
commit
69fa1ee808
1 changed files with 4 additions and 3 deletions
|
@ -97,9 +97,6 @@ CSMDoc::Saving::Saving(Document& document, const std::filesystem::path& projectP
|
|||
appendStage(
|
||||
new WriteCollectionStage<CSMWorld::IdCollection<ESM::BodyPart>>(mDocument.getData().getBodyParts(), mState));
|
||||
|
||||
appendStage(new WriteCollectionStage<CSMWorld::IdCollection<ESM::SoundGenerator>>(
|
||||
mDocument.getData().getSoundGens(), mState));
|
||||
|
||||
appendStage(new WriteCollectionStage<CSMWorld::IdCollection<ESM::MagicEffect>>(
|
||||
mDocument.getData().getMagicEffects(), mState));
|
||||
|
||||
|
@ -108,6 +105,10 @@ CSMDoc::Saving::Saving(Document& document, const std::filesystem::path& projectP
|
|||
|
||||
appendStage(new WriteRefIdCollectionStage(mDocument, mState));
|
||||
|
||||
// Can reference creatures so needs to load after them for TESCS compatibility
|
||||
appendStage(new WriteCollectionStage<CSMWorld::IdCollection<ESM::SoundGenerator>>(
|
||||
mDocument.getData().getSoundGens(), mState));
|
||||
|
||||
appendStage(new CollectionReferencesStage(mDocument, mState));
|
||||
|
||||
appendStage(new WriteCellCollectionStage(mDocument, mState));
|
||||
|
|
Loading…
Reference in a new issue