mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
Fix 63ccb36ef3
: Crash trying to load TTO/TTD savegames. (#8356)
This commit is contained in:
parent
6ad3cca4ca
commit
c558936ec3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user