Use random seed specified by settings for new games

pull/3227/head
ζeh Matt 3 years ago
parent 2e8f9f471f
commit 926cdfbe19
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

@ -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());

Loading…
Cancel
Save