diff options
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index 78667f0c9a..3cd3e1eed7 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -57,6 +57,7 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char if (file) return file; + // FIXME this should probably be engine specific... const char *dirs[] = { "", "video/", @@ -66,7 +67,13 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char "resource/", "RESOURCE/", "voices/", - "VOICES/" + "VOICES/", + // sword2 stuff if user just copied files without putting + // them all into the same dir like original installer did + "CLUSTERS/", + "clusters/", + "SWORD2/", + "sword2/" }; for (int dirIdx = 0; dirIdx < ARRAYSIZE(dirs); dirIdx++) { |