Codechange: make Subdirectory a scoped enum

This commit is contained in:
Peter Nelson
2026-04-05 19:02:51 +01:00
committed by Peter Nelson
parent 93a6aa77c6
commit 5aae8e2d64
52 changed files with 218 additions and 216 deletions
+1 -1
View File
@@ -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