mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make Subdirectory a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
93a6aa77c6
commit
5aae8e2d64
+1
-1
@@ -554,7 +554,7 @@ struct NewGRFTextfileWindow : public TextfileWindow {
|
||||
this->ConstructWindow();
|
||||
|
||||
auto textfile = this->grf_config->GetTextfile(file_type);
|
||||
this->LoadTextfile(textfile.value(), NEWGRF_DIR);
|
||||
this->LoadTextfile(textfile.value(), Subdirectory::NewGrf);
|
||||
}
|
||||
|
||||
std::string GetWidgetString(WidgetID widget, StringID stringid) const override
|
||||
|
||||
Reference in New Issue
Block a user