mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 02:35:46 +01:00
Replace path_set_extension with Path::WithExtension()
This commit is contained in:
@@ -1087,7 +1087,8 @@ static void WindowLoadsaveSelect(rct_window* w, const char* path)
|
||||
{
|
||||
SetAndSaveConfigPath(gConfigGeneral.last_save_track_directory, pathBuffer);
|
||||
|
||||
path_set_extension(pathBuffer, "td6", sizeof(pathBuffer));
|
||||
const auto withExtension = Path::WithExtension(pathBuffer, "td6");
|
||||
String::Set(pathBuffer, sizeof(pathBuffer), withExtension.c_str());
|
||||
|
||||
RCT2::T6Exporter t6Export{ _trackDesign };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user