diff options
-rw-r--r-- | src/saveload/oldloader_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp index 402c1c5cc..fa7685731 100644 --- a/src/saveload/oldloader_sl.cpp +++ b/src/saveload/oldloader_sl.cpp @@ -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; |