mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 20:12:42 +00:00
Codechange: make Subdirectory a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
93a6aa77c6
commit
5aae8e2d64
@@ -123,7 +123,7 @@ uint32_t NewGRFProfiler::Finish()
|
||||
|
||||
uint32_t total_microseconds = 0;
|
||||
|
||||
auto f = FioFOpenFile(filename, "wt", Subdirectory::NO_DIRECTORY);
|
||||
auto f = FioFOpenFile(filename, "wt", Subdirectory::None);
|
||||
|
||||
if (!f.has_value()) {
|
||||
IConsolePrint(CC_ERROR, "Failed to open '{}' for writing.", filename);
|
||||
|
||||
Reference in New Issue
Block a user