mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Add game-independent VFS directory to CS' VFS
This should have been like this all along - all the other applications that use the game's VFS do this.
This commit is contained in:
parent
51b05647e2
commit
01e2e56f97
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ std::pair<Files::PathContainer, std::vector<std::string>> CS::Editor::readConfig
|
|||
|
||||
dataDirs.insert(dataDirs.end(), dataLocal.begin(), dataLocal.end());
|
||||
|
||||
dataDirs.insert(dataDirs.begin(), mResources / "vfs");
|
||||
|
||||
// iterate the data directories and add them to the file dialog for loading
|
||||
mFileDialog.addFiles(dataDirs);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue