1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00

Use random seed specified by settings for new games

This commit is contained in:
ζeh Matt 2022-05-11 16:37:16 +03:00
parent 2e8f9f471f
commit 926cdfbe19
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

View File

@ -837,6 +837,7 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
mFileCollections, mContentFiles, mGroundcoverFiles, mEncoder, mActivationDistanceOverride, mCellName,
mStartupScript, mResDir.string(), mCfgMgr.getUserDataPath().string());
mWorld->setupPlayer();
mWorld->setRandomSeed(mRandomSeed);
mEnvironment.setWorld(*mWorld);
mWindowManager->setStore(mWorld->getStore());