mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 21:45:32 +00:00
add magic effect records for newly created games
This commit is contained in:
parent
850dbb55a5
commit
25a1112627
1 changed files with 12 additions and 0 deletions
|
@ -2201,6 +2201,18 @@ void CSMDoc::Document::createBase()
|
|||
|
||||
getData().getTopics().add (record);
|
||||
}
|
||||
|
||||
for (int i=0; i<ESM::MagicEffect::Length; ++i)
|
||||
{
|
||||
ESM::MagicEffect record;
|
||||
|
||||
record.mIndex = i;
|
||||
record.mId = ESM::MagicEffect::indexToId (i);
|
||||
|
||||
record.blank();
|
||||
|
||||
getData().getMagicEffects().add (record);
|
||||
}
|
||||
}
|
||||
|
||||
CSMDoc::Document::Document (const Files::ConfigurationManager& configuration,
|
||||
|
|
Loading…
Reference in a new issue