mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-03 17:54:06 +00:00
Back out unnecessary change.
This commit is contained in:
parent
29a33364cc
commit
ac606a865c
@ -2,7 +2,6 @@
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <OgreRoot.h>
|
||||
#include <OgreRenderWindow.h>
|
||||
|
||||
@ -340,10 +339,8 @@ std::string OMW::Engine::loadSettings (Settings::Manager & settings)
|
||||
|
||||
void OMW::Engine::prepareEngine (Settings::Manager & settings)
|
||||
{
|
||||
boost::filesystem::path saves(mCfgMgr.getUserDataPath() / "saves");
|
||||
|
||||
mEnvironment.setStateManager (
|
||||
new MWState::StateManager (saves.make_preferred(), mContentFiles.at (0)));
|
||||
new MWState::StateManager (mCfgMgr.getUserDataPath() / "saves", mContentFiles.at (0)));
|
||||
|
||||
Nif::NIFFile::CacheLock cachelock;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user