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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;