mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: make DetailedFileType a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
74b0b080e7
commit
04f7adb7b7
+2
-2
@@ -505,11 +505,11 @@ static bool ReadHeightMap(DetailedFileType dft, std::string_view filename, uint
|
||||
NOT_REACHED();
|
||||
|
||||
#ifdef WITH_PNG
|
||||
case DFT_HEIGHTMAP_PNG:
|
||||
case DetailedFileType::HeightmapPng:
|
||||
return ReadHeightmapPNG(filename, x, y, map);
|
||||
#endif /* WITH_PNG */
|
||||
|
||||
case DFT_HEIGHTMAP_BMP:
|
||||
case DetailedFileType::HeightmapBmp:
|
||||
return ReadHeightmapBMP(filename, x, y, map);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user