summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/DataLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/DataLoader.h')
-rw-r--r--StarsEx/DataLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/StarsEx/DataLoader.h b/StarsEx/DataLoader.h
index 81098e8..af8b3d5 100644
--- a/StarsEx/DataLoader.h
+++ b/StarsEx/DataLoader.h
@@ -52,7 +52,7 @@ public:
void SetDataPath(const char* path);
const char* GetDataPath() const { return datapath; }
- bool IsFileSystemEnabled() const { return use_file_system; }
+ bool IsFileSystemEnabled() const { return work_directory_source != nullptr; }
bool IsMediaLoadEnabled() const { return enable_media; }
bool FindFile(const char* fname);
@@ -79,11 +79,11 @@ private:
Text datapath;
Video* video;
- bool use_file_system;
bool enable_media;
List<DataArchive> archives;
List<DataSource> sources;
+ DataSource* work_directory_source;
static DataLoader* loader;
};