mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 12:07:51 +03:00
set content files when running OpenMW from OpenCS
This commit is contained in:
parent
cf05d3c69f
commit
64cf0870c6
3 changed files with 20 additions and 2 deletions
|
@ -2375,7 +2375,13 @@ bool CSMDoc::Document::isBlacklisted (const CSMWorld::UniversalId& id)
|
|||
void CSMDoc::Document::startRunning (const std::string& profile,
|
||||
const std::string& startupInstruction)
|
||||
{
|
||||
mRunner.configure (getData().getDebugProfiles().getRecord (profile).get(),
|
||||
std::vector<std::string> contentFiles;
|
||||
|
||||
for (std::vector<boost::filesystem::path>::const_iterator iter (mContentFiles.begin());
|
||||
iter!=mContentFiles.end(); ++iter)
|
||||
contentFiles.push_back (iter->filename().string());
|
||||
|
||||
mRunner.configure (getData().getDebugProfiles().getRecord (profile).get(), contentFiles,
|
||||
startupInstruction);
|
||||
|
||||
int state = getState();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue