mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: make Subdirectory a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
93a6aa77c6
commit
5aae8e2d64
+1
-1
@@ -2256,7 +2256,7 @@ static void FillLanguageList(const std::string &path)
|
||||
void InitializeLanguagePacks()
|
||||
{
|
||||
for (Searchpath sp : _valid_searchpaths) {
|
||||
FillLanguageList(FioGetDirectory(sp, LANG_DIR));
|
||||
FillLanguageList(FioGetDirectory(sp, Subdirectory::Lang));
|
||||
}
|
||||
if (_languages.empty()) UserError("No available language packs (invalid versions?)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user