1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

Fix 63ccb36ef3: Crash trying to load TTO/TTD savegames. (#8356)

This commit is contained in:
Michael Lutz
2020-12-06 00:29:27 +01:00
committed by GitHub
parent 6ad3cca4ca
commit c558936ec3

View File

@@ -445,7 +445,7 @@ static bool FixTTOEngines()
e->preview_company = INVALID_COMPANY;
e->preview_asked = (CompanyMask)-1;
e->preview_wait = 0;
e->name = nullptr;
e->name = std::string{};
}
return true;